Class: LedgerSync::Type::String
- Inherits:
-
ActiveModel::Type::String
- Object
- ActiveModel::Type::String
- LedgerSync::Type::String
- Includes:
- ValueMixin
- Defined in:
- lib/ledger_sync/type/string.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/string.rb', line 8 def type :string end |
#valid_classes ⇒ Object
12 13 14 |
# File 'lib/ledger_sync/type/string.rb', line 12 def valid_classes [::String] end |