Class: Expressir::Liquid::Statements::ReturnDrop

Inherits:
Expressir::Liquid::StatementDrop show all
Defined in:
lib/expressir/liquid/statements/return_drop.rb

Instance Method Summary collapse

Methods inherited from ModelElementDrop

#_class, #file, #source

Constructor Details

#initialize(model) ⇒ ReturnDrop

Returns a new instance of ReturnDrop.



7
8
9
10
# File 'lib/expressir/liquid/statements/return_drop.rb', line 7

def initialize(model)
  @model = model
  super
end

Instance Method Details

#expressionObject



12
13
14
# File 'lib/expressir/liquid/statements/return_drop.rb', line 12

def expression
  drop_klass_by_model(@model.expression)
end