Class: Liquid::Tag
- Inherits:
-
Object
show all
- Defined in:
- lib/liquid/tag.rb
Instance Attribute Summary collapse
Instance Method Summary
collapse
Constructor Details
#initialize(tag_name, markup, tokens) ⇒ Tag
Returns a new instance of Tag.
6
7
8
9
10
|
# File 'lib/liquid/tag.rb', line 6
def initialize(tag_name, markup, tokens)
@tag_name = tag_name
@markup = markup
parse(tokens)
end
|
Instance Attribute Details
#nodelist ⇒ Object
Returns the value of attribute nodelist.
4
5
6
|
# File 'lib/liquid/tag.rb', line 4
def nodelist
@nodelist
end
|
Instance Method Details
#name ⇒ Object
15
16
17
|
# File 'lib/liquid/tag.rb', line 15
def name
self.class.name.downcase
end
|
#parse(tokens) ⇒ Object
12
13
|
# File 'lib/liquid/tag.rb', line 12
def parse(tokens)
end
|
#render(context) ⇒ Object
19
20
21
|
# File 'lib/liquid/tag.rb', line 19
def render(context)
''
end
|