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



17
18
19
# File 'lib/utopia/tags.rb', line 17

def self.all
	@@all
end

.create(name, &block) ⇒ Object



13
14
15
# File 'lib/utopia/tags.rb', line 13

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

.register(name, tag) ⇒ Object



9
10
11
# File 'lib/utopia/tags.rb', line 9

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