Class: Utopia::Content::Tags::Library
- Inherits:
-
Object
- Object
- Utopia::Content::Tags::Library
- Defined in:
- lib/utopia/content/tags/library.rb
Overview
A library of tags which can be installed as a namespace into Utopia::Content.
Instance Method Summary collapse
-
#call(name, node) ⇒ Object
-
#initialize(tags) ⇒ Library
constructor
A new instance of Library.
Constructor Details
#initialize(tags) ⇒ Library
Returns a new instance of Library
28 29 30 |
# File 'lib/utopia/content/tags/library.rb', line 28 def initialize() @tags = end |
Instance Method Details
#call(name, node) ⇒ Object
34 35 36 |
# File 'lib/utopia/content/tags/library.rb', line 34 def call(name, node) return @tags[name].call(name, node) end |