Class: Jekyll::DistorteD::BLOCKS
- Inherits:
-
Liquid::Block
- Object
- Liquid::Block
- Jekyll::DistorteD::BLOCKS
- Defined in:
- lib/distorted-jekyll/blocks.rb
Instance Method Summary collapse
-
#initialize(tag_name, arguments, liquid_options) ⇒ BLOCKS
constructor
A new instance of BLOCKS.
- #render(context) ⇒ Object
Constructor Details
#initialize(tag_name, arguments, liquid_options) ⇒ BLOCKS
Returns a new instance of BLOCKS.
6 7 8 |
# File 'lib/distorted-jekyll/blocks.rb', line 6 def initialize(tag_name, arguments, ) super end |
Instance Method Details
#render(context) ⇒ Object
10 11 12 |
# File 'lib/distorted-jekyll/blocks.rb', line 10 def render(context) "<div class=\"distorted-block\">#{super}</div>" end |