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