Class: Expressir::Liquid::Statements::AssignmentDrop
- Inherits:
-
Expressir::Liquid::StatementDrop
- Object
- Liquid::Drop
- ModelElementDrop
- Expressir::Liquid::StatementDrop
- Expressir::Liquid::Statements::AssignmentDrop
- Defined in:
- lib/expressir/liquid/statements/assignment_drop.rb
Instance Method Summary collapse
- #expression ⇒ Object
-
#initialize(model) ⇒ AssignmentDrop
constructor
A new instance of AssignmentDrop.
- #ref ⇒ Object
Methods inherited from ModelElementDrop
Constructor Details
#initialize(model) ⇒ AssignmentDrop
Returns a new instance of AssignmentDrop.
7 8 9 10 |
# File 'lib/expressir/liquid/statements/assignment_drop.rb', line 7 def initialize(model) @model = model super end |
Instance Method Details
#expression ⇒ Object
16 17 18 |
# File 'lib/expressir/liquid/statements/assignment_drop.rb', line 16 def expression drop_klass_by_model(@model.expression) end |
#ref ⇒ Object
12 13 14 |
# File 'lib/expressir/liquid/statements/assignment_drop.rb', line 12 def ref drop_klass_by_model(@model.ref) end |