Class: Expressir::Liquid::Literals::LogicalDrop

Inherits:
Expressir::Liquid::LiteralDrop show all
Defined in:
lib/expressir/liquid/literals/logical_drop.rb

Instance Method Summary collapse

Methods inherited from ModelElementDrop

#_class, #file, #source

Constructor Details

#initialize(model) ⇒ LogicalDrop

Returns a new instance of LogicalDrop.



7
8
9
10
# File 'lib/expressir/liquid/literals/logical_drop.rb', line 7

def initialize(model)
  @model = model
  super
end

Instance Method Details

#valueObject



12
13
14
# File 'lib/expressir/liquid/literals/logical_drop.rb', line 12

def value
  @model.value
end