Class: Expressir::Liquid::Expressions::QueryExpressionDrop
- Inherits:
-
Expressir::Liquid::ExpressionDrop
- Object
- Liquid::Drop
- ModelElementDrop
- Expressir::Liquid::ExpressionDrop
- Expressir::Liquid::Expressions::QueryExpressionDrop
- Includes:
- IdentifierDrop
- Defined in:
- lib/expressir/liquid/expressions/query_expression_drop.rb
Instance Method Summary collapse
- #aggregate_source ⇒ Object
- #expression ⇒ Object
-
#initialize(model) ⇒ QueryExpressionDrop
constructor
A new instance of QueryExpressionDrop.
Methods included from IdentifierDrop
#id, #initialize_identifier, #remark_items, #remarks, #source
Methods inherited from ModelElementDrop
Constructor Details
#initialize(model) ⇒ QueryExpressionDrop
Returns a new instance of QueryExpressionDrop.
9 10 11 12 13 |
# File 'lib/expressir/liquid/expressions/query_expression_drop.rb', line 9 def initialize(model) @model = model initialize_identifier(@model) super end |
Instance Method Details
#aggregate_source ⇒ Object
15 16 17 |
# File 'lib/expressir/liquid/expressions/query_expression_drop.rb', line 15 def aggregate_source drop_klass_by_model(@model.aggregate_source) end |
#expression ⇒ Object
19 20 21 |
# File 'lib/expressir/liquid/expressions/query_expression_drop.rb', line 19 def expression drop_klass_by_model(@model.expression) end |