Module: StateMethods::Implementations
- Defined in:
- lib/state_methods/implementations.rb,
lib/state_methods/implementations/classy.rb,
lib/state_methods/implementations/functional.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods Classes: Classy, Functional, Proxy
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
21 22 23 24 25 26 27 28 |
# File 'lib/state_methods/implementations.rb', line 21 def self.included(base) base.class_eval do class_attribute :_state_partitions self._state_partitions = {} include InstanceMethods end base.extend ClassMethods end |