Sha256: 760c787440a07efde0ff123cd005f5e30b17f0f8803dab8e0e048abeb7ec4c83
Contents?: true
Size: 315 Bytes
Versions: 1
Compression:
Stored size: 315 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.1.0 | lib/renum.rb |