Class: LiquidBlocks::BlockDrop
- Inherits:
-
Liquid::Drop
- Object
- Liquid::Drop
- LiquidBlocks::BlockDrop
- Defined in:
- lib/liquid_blocks/block.rb
Instance Method Summary collapse
-
#initialize(block) ⇒ BlockDrop
constructor
A new instance of BlockDrop.
- #super ⇒ Object
Constructor Details
#initialize(block) ⇒ BlockDrop
Returns a new instance of BlockDrop.
4 5 6 |
# File 'lib/liquid_blocks/block.rb', line 4 def initialize(block) @block = block end |
Instance Method Details
#super ⇒ Object
8 9 10 |
# File 'lib/liquid_blocks/block.rb', line 8 def super @block.call_super(@context) end |