Class: Jekyll::FragmentBlock
- Inherits:
-
Liquid::Block
- Object
- Liquid::Block
- Jekyll::FragmentBlock
- Defined in:
- lib/jekyll-dry.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(tag_name, markup, options) ⇒ FragmentBlock
constructor
A new instance of FragmentBlock.
- #parse(tokens) ⇒ Object
Constructor Details
#initialize(tag_name, markup, options) ⇒ FragmentBlock
Returns a new instance of FragmentBlock.
90 91 92 |
# File 'lib/jekyll-dry.rb', line 90 def initialize(tag_name, markup, ) super end |
Instance Method Details
#parse(tokens) ⇒ Object
94 95 96 97 98 |
# File 'lib/jekyll-dry.rb', line 94 def parse(tokens) @body = FragmentBlockBody.new while parse_body(@body, tokens) end end |