Class: Scribo::IncludeDrop
- Inherits:
-
Liquid::Drop
- Object
- Liquid::Drop
- Scribo::IncludeDrop
- Defined in:
- app/drops/scribo/include_drop.rb
Instance Method Summary collapse
-
#initialize(attributes) ⇒ IncludeDrop
constructor
A new instance of IncludeDrop.
- #liquid_method_missing(method) ⇒ Object
Constructor Details
#initialize(attributes) ⇒ IncludeDrop
Returns a new instance of IncludeDrop.
5 6 7 |
# File 'app/drops/scribo/include_drop.rb', line 5 def initialize(attributes) @attributes = attributes end |
Instance Method Details
#liquid_method_missing(method) ⇒ Object
9 10 11 |
# File 'app/drops/scribo/include_drop.rb', line 9 def liquid_method_missing(method) @attributes[method.to_s] end |