Class: Tags::MetaTag
- Inherits:
-
Liquid::Tag
- Object
- Liquid::Tag
- Tags::MetaTag
- Defined in:
- app/liquid/tags/meta_tag.rb
Overview
_ _ _ ##
| \/ | | | ##
| . . | ___| |_ __ _ ##
| |\/| |/ _ \ __/ _` | ##
| | | | __/ || (_| | ##
\_| |_/\___|\__\__,_| ##
Constant Summary collapse
- Syntax =
/(#{::Liquid::QuotedFragment}+)?/
Instance Method Summary collapse
-
#initialize(tag_name, markup, tokens) ⇒ MetaTag
constructor
Parse Arguments ## Define args here and pass to renderer as @variables ##.
-
#render(context) ⇒ Object
Output.
Constructor Details
#initialize(tag_name, markup, tokens) ⇒ MetaTag
Parse Arguments ## Define args here and pass to renderer as @variables ##
20 21 22 23 24 |
# File 'app/liquid/tags/meta_tag.rb', line 20 def initialize tag_name, markup, tokens @tag = tag_name @markup = markup.split(", ") super end |
Instance Method Details
#render(context) ⇒ Object
Output
27 28 29 |
# File 'app/liquid/tags/meta_tag.rb', line 27 def render context @tag, @markup end |