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