Class: Jekyll::HackclubParser
- Inherits:
-
Liquid::Tag
- Object
- Liquid::Tag
- Jekyll::HackclubParser
- Defined in:
- lib/tags/parser.rb
Instance Method Summary collapse
-
#initialize(tagName, content, tokens) ⇒ HackclubParser
constructor
A new instance of HackclubParser.
- #render(context) ⇒ Object
Constructor Details
#initialize(tagName, content, tokens) ⇒ HackclubParser
Returns a new instance of HackclubParser.
7 8 9 10 |
# File 'lib/tags/parser.rb', line 7 def initialize(tagName, content, tokens) super @content = content end |
Instance Method Details
#render(context) ⇒ Object
12 13 14 |
# File 'lib/tags/parser.rb', line 12 def render(context) %Q{#{ArgsParser.parse(@content)}} end |