Sha256: 2991d37378620ead9fd17d1c35b5d6436e302976eb54c08653493f4b84ab08c3

Contents?: true

Size: 398 Bytes

Versions: 4

Compression:

Stored size: 398 Bytes

Contents

#	This file is part of the "Utopia Framework" project, and is released under the MIT license.
#	Copyright 2010 Samuel Williams. All rights reserved.
#	See <utopia.rb> for licensing details.

module Utopia
	module Tags
		@@all = {}
		
		def self.register(name, tag)
			@@all[name] = tag
		end
		
		def self.create(name, &block)
			@@all[name] = block
		end
		
		def self.all
			@@all
		end
	end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
utopia-0.10.0 lib/utopia/tags.rb
utopia-0.9.61 lib/utopia/tags.rb
utopia-0.9.60 lib/utopia/tags.rb
utopia-0.9.59 lib/utopia/tags.rb