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