Sha256: 2427edc9f907d9d73abf225ba8a1941f38ebab0645d8e678fd29107e82b4bb98

Contents?: true

Size: 194 Bytes

Versions: 2

Compression:

Stored size: 194 Bytes

Contents

# frozen_string_literal: true

module Granite
  module Form
    module Types
      class String < Object
        def typecast(value)
          value.to_s
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
granite-form-0.3.0 lib/granite/form/types/string.rb
granite-form-0.2.0 lib/granite/form/types/string.rb