Sha256: c15ecc79dcc6cba8f89ab57951d2c386a0537b17157e9dc8b07637d874180838

Contents?: true

Size: 173 Bytes

Versions: 6

Compression:

Stored size: 173 Bytes

Contents

module Compel
  module Coercion

    class Time < DateType

      def klass
        ::Time
      end

      def default_format
        '%FT%T'
      end

    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
compel-0.5.1 lib/compel/coercion/types/time.rb
compel-0.5.0 lib/compel/coercion/types/time.rb
compel-0.4.3 lib/compel/coercion/types/time.rb
compel-0.4.2 lib/compel/coercion/types/time.rb
compel-0.4.0 lib/compel/coercion/types/time.rb
compel-0.3.7 lib/compel/coercion/types/time.rb