Class: Expressir::Liquid::References::IndexReferenceDrop
- Inherits:
-
Expressir::Liquid::ReferenceDrop
- Object
- Liquid::Drop
- ModelElementDrop
- Expressir::Liquid::ReferenceDrop
- Expressir::Liquid::References::IndexReferenceDrop
- Defined in:
- lib/expressir/liquid/references/index_reference_drop.rb
Instance Method Summary collapse
- #index1 ⇒ Object
- #index2 ⇒ Object
-
#initialize(model) ⇒ IndexReferenceDrop
constructor
A new instance of IndexReferenceDrop.
- #ref ⇒ Object
Methods inherited from ModelElementDrop
Constructor Details
#initialize(model) ⇒ IndexReferenceDrop
Returns a new instance of IndexReferenceDrop.
7 8 9 10 |
# File 'lib/expressir/liquid/references/index_reference_drop.rb', line 7 def initialize(model) @model = model super end |
Instance Method Details
#index1 ⇒ Object
16 17 18 |
# File 'lib/expressir/liquid/references/index_reference_drop.rb', line 16 def index1 drop_klass_by_model(@model.index1) end |
#index2 ⇒ Object
20 21 22 |
# File 'lib/expressir/liquid/references/index_reference_drop.rb', line 20 def index2 drop_klass_by_model(@model.index2) end |
#ref ⇒ Object
12 13 14 |
# File 'lib/expressir/liquid/references/index_reference_drop.rb', line 12 def ref drop_klass_by_model(@model.ref) end |