Sha256: 04d34b07efa0cc5d8960d36175113722301db09664935cc2cf321f6d3e76d893
Contents?: true
Size: 408 Bytes
Versions: 29
Compression:
Stored size: 408 Bytes
Contents
# This file is part of the "Utopia Framework" project, and is licensed under the GNU AGPLv3. # 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] = Proc.new(&block) end def self.all @@all end end end
Version data entries
29 entries across 29 versions & 1 rubygems