Class: StateMachine::AttributeTransitionCollection

Inherits:
TransitionCollection show all
Defined in:
lib/state_machine/transition_collection.rb

Overview

Represents a collection of transitions that were generated from attribute- based events

Instance Attribute Summary

Attributes inherited from TransitionCollection

#skip_actions, #skip_after, #use_transaction

Instance Method Summary (collapse)

Methods inherited from TransitionCollection

#perform

Methods included from Assertions

#assert_exclusive_keys, #assert_valid_keys

Constructor Details

- (AttributeTransitionCollection) initialize(transitions = [], options = {})

:nodoc:



194
195
196
# File 'lib/state_machine/transition_collection.rb', line 194

def initialize(transitions = [], options = {}) #:nodoc:
  super(transitions, {:transaction => false, :actions => false}.merge(options))
end