Class: LedgerSync::Type::Date
- Inherits:
-
ActiveModel::Type::Date
- Object
- ActiveModel::Type::Date
- LedgerSync::Type::Date
- Includes:
- ValueMixin
- Defined in:
- lib/ledger_sync/type/date.rb
Overview
:nodoc:
Instance Method Summary collapse
Methods included from ValueMixin
#cast?, #error_message, included, #valid_without_casting?
Instance Method Details
#type ⇒ Object
8 9 10 |
# File 'lib/ledger_sync/type/date.rb', line 8 def type :date end |
#valid_classes ⇒ Object
12 13 14 |
# File 'lib/ledger_sync/type/date.rb', line 12 def valid_classes [::Date] end |