Module: Spider::Model::StateMachine

Defined in:
lib/spiderfw/model/mixins/state_machine.rb

Defined Under Namespace

Modules: ClassMethods, MapperMethods

Class Method Summary (collapse)

Instance Method Summary (collapse)

Class Method Details

+ (Object) included(model)



5
6
7
8
# File 'lib/spiderfw/model/mixins/state_machine.rb', line 5

def self.included(model)
    model.extend(ClassMethods)
    model.mapper_include(MapperMethods)
end

Instance Method Details

- (Object) _pending_state_events



67
68
69
# File 'lib/spiderfw/model/mixins/state_machine.rb', line 67

def _pending_state_events
    @_pending_state_events ||= []
end