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