Sha256: 0c1c0ab4199035b6606abfb98d733c897a82bc671d7815676c9b406a2de5da88

Contents?: true

Size: 176 Bytes

Versions: 4

Compression:

Stored size: 176 Bytes

Contents

module Compel
  module Coercion

    class Date < DateType

      def klass
        ::Date
      end

      def default_format
        '%Y-%m-%d'
      end

    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
compel-0.5.1 lib/compel/coercion/types/date.rb
compel-0.5.0 lib/compel/coercion/types/date.rb
compel-0.4.3 lib/compel/coercion/types/date.rb
compel-0.4.2 lib/compel/coercion/types/date.rb