Class: LedgerSync::Type::Float

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

Overview

:nodoc:

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/float.rb', line 10

def type
  :float
end

#valid_classesObject



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

def valid_classes
  [::Float]
end