Class: Expressir::Liquid::DataTypes::RealDrop

Inherits:
Expressir::Liquid::DataTypeDrop show all
Defined in:
lib/expressir/liquid/data_types/real_drop.rb

Instance Method Summary collapse

Methods inherited from ModelElementDrop

#_class, #file, #source

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

#precisionObject



12
13
14
# File 'lib/expressir/liquid/data_types/real_drop.rb', line 12

def precision
  drop_klass_by_model(@model.precision)
end