Class: Db2Query::Type::Decimal
- Defined in:
- lib/db2_query/type/decimal.rb
Instance Attribute Summary
Attributes inherited from Value
Instance Method Summary collapse
Methods inherited from Value
#initialize, #quote, #serialize, #type_name
Constructor Details
This class inherits a constructor from Db2Query::Type::Value
Instance Method Details
#deserialize(value) ⇒ Object
10 11 12 |
# File 'lib/db2_query/type/decimal.rb', line 10 def deserialize(value) value.to_f end |
#type ⇒ Object
6 7 8 |
# File 'lib/db2_query/type/decimal.rb', line 6 def type :decimal end |