Sha256: b0e1af91e2977582b0be4658e5412c47b97c9aea594cde3a615959af16f3bfda
Contents?: true
Size: 925 Bytes
Versions: 9
Compression:
Stored size: 925 Bytes
Contents
# Copyright (c) 2010 Samuel Williams. Released under the GNU GPLv3. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. 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
9 entries across 9 versions & 1 rubygems