Class: ActiveModel::Type::DecimalWithoutScale
- Inherits:
-
BigInteger
- Object
- Value
- Integer
- BigInteger
- ActiveModel::Type::DecimalWithoutScale
- Defined in:
- lib/active_model/type/decimal_without_scale.rb
Overview
:nodoc:
Constant Summary
Constants inherited from Integer
Instance Attribute Summary
Attributes inherited from Value
Instance Method Summary collapse
Methods inherited from Integer
#deserialize, #initialize, #serialize
Methods included from Helpers::Numeric
Methods inherited from Value
#==, #assert_valid_value, #binary?, #cast, #changed?, #changed_in_place?, #deserialize, #hash, #initialize, #map, #serialize, #type_cast_for_schema
Constructor Details
This class inherits a constructor from ActiveModel::Type::Integer
Instance Method Details
#type ⇒ Object
6 7 8 |
# File 'lib/active_model/type/decimal_without_scale.rb', line 6 def type :decimal end |