Module: EnumMachine

Defined in:
lib/enum_machine.rb,
lib/enum_machine/machine.rb,
lib/enum_machine/version.rb,
lib/enum_machine/build_class.rb,
lib/enum_machine/build_attribute.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, BuildAttribute, BuildClass, DriverActiveRecord, DriverSimpleClass Classes: Error, InvalidTransition, Machine

Constant Summary collapse

VERSION =
'1.0.0'

Class Method Summary collapse

Class Method Details

.[](args) ⇒ Object



28
29
30
# File 'lib/enum_machine.rb', line 28

def self.[](args)
  DriverSimpleClass.call(args)
end