Class: Expressir::Liquid::DataTypes::RealDrop
- Inherits:
-
Expressir::Liquid::DataTypeDrop
- Object
- Liquid::Drop
- ModelElementDrop
- Expressir::Liquid::DataTypeDrop
- Expressir::Liquid::DataTypes::RealDrop
- Defined in:
- lib/expressir/liquid/data_types/real_drop.rb
Instance Method Summary collapse
-
#initialize(model) ⇒ RealDrop
constructor
A new instance of RealDrop.
- #precision ⇒ Object
Methods inherited from ModelElementDrop
Constructor Details
#initialize(model) ⇒ RealDrop
Returns a new instance of RealDrop.
7 8 9 10 |
# File 'lib/expressir/liquid/data_types/real_drop.rb', line 7 def initialize(model) @model = model super end |
Instance Method Details
#precision ⇒ Object
12 13 14 |
# File 'lib/expressir/liquid/data_types/real_drop.rb', line 12 def precision drop_klass_by_model(@model.precision) end |