value_input (Borges::HtmlRenderer)

    # File lib/Borges/HTML/HtmlRenderer.rb, line 322
      def value_input(input_type, value, &block)
        callback = block

        if value.kind_of? Integer then
          callback = proc do |v|
            block.call(v.to_i)
          end

        elsif value.kind_of? Float then
          callback = proc do |v|
            block.call(v == value ? anObject : v.to_f)
          end

        elsif value.nil? then
          value = ''

          callback = proc do |v|
            block.call(v == '' ? nil : v)
          end

        end

        update_key = @callbacks.register_callback(&callback)
        input(input_type, update_key, value)
        return update_key
      end