Module: Utopia::Tags

Defined in:
lib/utopia/tags.rb

Defined Under Namespace

Classes: Gallery, Override

Constant Summary collapse

@@all =
{}

Class Method Summary collapse

Class Method Details

.allObject



28
29
30
# File 'lib/utopia/tags.rb', line 28

def self.all
	@@all
end

.create(name, &block) ⇒ Object



24
25
26
# File 'lib/utopia/tags.rb', line 24

def self.create(name, &block)
	@@all[name] = Proc.new(&block)
end

.register(name, tag) ⇒ Object



20
21
22
# File 'lib/utopia/tags.rb', line 20

def self.register(name, tag)
	@@all[name] = tag
end