Sha256: ad1a1545efdfc7b38c6f417b59d248be65f64ce3db25bc11ee8fb05f980b36fd

Contents?: true

Size: 177 Bytes

Versions: 2

Compression:

Stored size: 177 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

2 entries across 2 versions & 1 rubygems

Version Path
compel-0.4.0 lib/compel/coercion/types/date.rb
compel-0.3.7 lib/compel/coercion/types/date.rb