Module: StateMethods

Defined in:
lib/state_methods.rb,
lib/state_methods/factory.rb,
lib/state_methods/version.rb,
lib/state_methods/partition.rb,
lib/state_methods/method_utils.rb,
lib/state_methods/implementations.rb,
lib/state_methods/implementations/classy.rb,
lib/state_methods/implementations/functional.rb

Defined Under Namespace

Modules: Implementations, MethodUtils, MethodUtilsClassMethods Classes: CannotOverrideError, DuplicateStateError, Factory, Partition, PartitionNotFound, UndeclaredState, Undefined

Constant Summary collapse

VERSION =
"0.1.0"
IMPLEMENTATION =
'Functional'
@@implementation =
IMPLEMENTATION

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

extend ::StateMethods::MethodUtils



9
10
11
12
13
# File 'lib/state_methods.rb', line 9

def self.included(base)
  base.class_eval do
    include ::StateMethods::Implementations
  end
end