Class: Expressir::Liquid::Expressions::IntervalDrop
- Inherits:
-
Expressir::Liquid::ExpressionDrop
- Object
- Liquid::Drop
- ModelElementDrop
- Expressir::Liquid::ExpressionDrop
- Expressir::Liquid::Expressions::IntervalDrop
- Defined in:
- lib/expressir/liquid/expressions/interval_drop.rb
Instance Method Summary collapse
- #high ⇒ Object
-
#initialize(model) ⇒ IntervalDrop
constructor
A new instance of IntervalDrop.
- #item ⇒ Object
- #low ⇒ Object
- #operator1 ⇒ Object
- #operator2 ⇒ Object
Methods inherited from ModelElementDrop
Constructor Details
#initialize(model) ⇒ IntervalDrop
Returns a new instance of IntervalDrop.
7 8 9 10 |
# File 'lib/expressir/liquid/expressions/interval_drop.rb', line 7 def initialize(model) @model = model super end |
Instance Method Details
#high ⇒ Object
28 29 30 |
# File 'lib/expressir/liquid/expressions/interval_drop.rb', line 28 def high drop_klass_by_model(@model.high) end |
#item ⇒ Object
20 21 22 |
# File 'lib/expressir/liquid/expressions/interval_drop.rb', line 20 def item drop_klass_by_model(@model.item) end |
#low ⇒ Object
12 13 14 |
# File 'lib/expressir/liquid/expressions/interval_drop.rb', line 12 def low drop_klass_by_model(@model.low) end |
#operator1 ⇒ Object
16 17 18 |
# File 'lib/expressir/liquid/expressions/interval_drop.rb', line 16 def operator1 @model.operator1 end |
#operator2 ⇒ Object
24 25 26 |
# File 'lib/expressir/liquid/expressions/interval_drop.rb', line 24 def operator2 @model.operator2 end |