Sha256: 9ea95327125019846956ddd37520f7c4ef147ac88bf769feaaa17807f9880e01
Contents?: true
Size: 313 Bytes
Versions: 1
Compression:
Stored size: 313 Bytes
Contents
$:.unshift File.dirname(__FILE__) require 'renum/enumerated_value_type_factory' module Renum def enum type_name, values, &block nest = self.is_a?(Module) ? self : Object EnumeratedValueTypeFactory.create(nest, type_name, values, &block) end end extend Renum Module.module_eval do include Renum end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
renum-0.0.3 | lib/renum.rb |