Class: Jekyll::HackclubParser

Inherits:
Liquid::Tag
  • Object
show all
Defined in:
lib/tags/parser.rb

Instance Method Summary collapse

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