Class: Expressir::Liquid::SupertypeExpressions::BinarySupertypeExpressionDrop
- Inherits:
-
Expressir::Liquid::SupertypeExpressionDrop
- Object
- Liquid::Drop
- ModelElementDrop
- Expressir::Liquid::SupertypeExpressionDrop
- Expressir::Liquid::SupertypeExpressions::BinarySupertypeExpressionDrop
- Defined in:
- lib/expressir/liquid/supertype_expressions/binary_supertype_expression_drop.rb
Instance Method Summary collapse
-
#initialize(model) ⇒ BinarySupertypeExpressionDrop
constructor
A new instance of BinarySupertypeExpressionDrop.
- #operand1 ⇒ Object
- #operand2 ⇒ Object
- #operator ⇒ Object
Methods inherited from ModelElementDrop
Constructor Details
#initialize(model) ⇒ BinarySupertypeExpressionDrop
Returns a new instance of BinarySupertypeExpressionDrop.
7 8 9 10 |
# File 'lib/expressir/liquid/supertype_expressions/binary_supertype_expression_drop.rb', line 7 def initialize(model) @model = model super end |
Instance Method Details
#operand1 ⇒ Object
16 17 18 |
# File 'lib/expressir/liquid/supertype_expressions/binary_supertype_expression_drop.rb', line 16 def operand1 drop_klass_by_model(@model.operand1) end |
#operand2 ⇒ Object
20 21 22 |
# File 'lib/expressir/liquid/supertype_expressions/binary_supertype_expression_drop.rb', line 20 def operand2 drop_klass_by_model(@model.operand2) end |
#operator ⇒ Object
12 13 14 |
# File 'lib/expressir/liquid/supertype_expressions/binary_supertype_expression_drop.rb', line 12 def operator @model.operator end |