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