Class: LedgerSync::Type::String

Inherits:
ActiveModel::Type::String
  • Object
show all
Includes:
ValueMixin
Defined in:
lib/ledger_sync/type/string.rb

Overview

:nodoc:

Direct Known Subclasses

StringFromSet

Instance Method Summary collapse

Methods included from ValueMixin

#assert_valid, #cast, included, #valid?

Instance Method Details

#typeObject



10
11
12
# File 'lib/ledger_sync/type/string.rb', line 10

def type
  :string
end

#valid_classesObject



14
15
16
# File 'lib/ledger_sync/type/string.rb', line 14

def valid_classes
  [::String]
end