Class: Expressir::Liquid::Expressions::IntervalDrop

Inherits:
Expressir::Liquid::ExpressionDrop show all
Defined in:
lib/expressir/liquid/expressions/interval_drop.rb

Instance Method Summary collapse

Methods inherited from ModelElementDrop

#_class, #file, #source

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

#highObject



28
29
30
# File 'lib/expressir/liquid/expressions/interval_drop.rb', line 28

def high
  drop_klass_by_model(@model.high)
end

#itemObject



20
21
22
# File 'lib/expressir/liquid/expressions/interval_drop.rb', line 20

def item
  drop_klass_by_model(@model.item)
end

#lowObject



12
13
14
# File 'lib/expressir/liquid/expressions/interval_drop.rb', line 12

def low
  drop_klass_by_model(@model.low)
end

#operator1Object



16
17
18
# File 'lib/expressir/liquid/expressions/interval_drop.rb', line 16

def operator1
  @model.operator1
end

#operator2Object



24
25
26
# File 'lib/expressir/liquid/expressions/interval_drop.rb', line 24

def operator2
  @model.operator2
end