Module: EnumMachine
- Defined in:
- lib/enum_machine.rb,
lib/enum_machine/machine.rb,
lib/enum_machine/version.rb,
lib/enum_machine/build_enum_class.rb,
lib/enum_machine/build_value_class.rb,
lib/enum_machine/driver_simple_class.rb,
lib/enum_machine/driver_active_record.rb,
lib/enum_machine/attribute_persistence_methods.rb
Defined Under Namespace
Modules: AttributePersistenceMethods, BuildEnumClass, BuildValueClass, DriverActiveRecord, DriverSimpleClass Classes: Error, InvalidTransition, Machine
Constant Summary collapse
- VERSION =
"2.1.0"
Class Method Summary collapse
Class Method Details
.[](args) ⇒ Object
29 30 31 |
# File 'lib/enum_machine.rb', line 29 def self.[](args) DriverSimpleClass.call(args) end |