Module: Utopia::Tags
- Defined in:
- lib/utopia/tags.rb
Defined Under Namespace
Classes: Override
Constant Summary collapse
- @@all =
{}
Class Method Summary collapse
Class Method Details
.all ⇒ Object
33 34 35 |
# File 'lib/utopia/tags.rb', line 33 def self.all @@all end |
.create(name, &block) ⇒ Object
29 30 31 |
# File 'lib/utopia/tags.rb', line 29 def self.create(name, &block) @@all[name] = block end |
.register(name, tag) ⇒ Object
25 26 27 |
# File 'lib/utopia/tags.rb', line 25 def self.register(name, tag) @@all[name] = tag end |