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