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