Sha256: f735b62da3de0a4c411459260379456b9bd781b4f0cea835d497ca6a86c41c93

Contents?: true

Size: 172 Bytes

Versions: 10

Compression:

Stored size: 172 Bytes

Contents

module Compel
  module Coercion

    class String < Type

      def coerce_value
        if value.is_a?(::String)
          value
        end
      end

    end

  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
compel-0.5.1 lib/compel/coercion/types/string.rb
compel-0.5.0 lib/compel/coercion/types/string.rb
compel-0.4.3 lib/compel/coercion/types/string.rb
compel-0.4.2 lib/compel/coercion/types/string.rb
compel-0.4.0 lib/compel/coercion/types/string.rb
compel-0.3.7 lib/compel/coercion/types/string.rb
compel-0.3.6 lib/compel/coercion/types/string.rb
compel-0.3.4 lib/compel/coercion/types/string.rb
compel-0.3.2 lib/compel/coercion/types/string.rb
compel-0.3.1 lib/compel/coercion/types/string.rb