Class: SGF::StateMachine::Transition

Inherits:
Struct
  • Object
show all
Defined in:
lib/sgf/state_machine.rb

Instance Attribute Summary collapse

Instance Attribute Details

#after_stateObject

Returns the value of attribute after_state

Returns:

  • (Object)

    the current value of after_state



5
6
7
# File 'lib/sgf/state_machine.rb', line 5

def after_state
  @after_state
end

#before_stateObject

Returns the value of attribute before_state

Returns:

  • (Object)

    the current value of before_state



5
6
7
# File 'lib/sgf/state_machine.rb', line 5

def before_state
  @before_state
end

#callbackObject

Returns the value of attribute callback

Returns:

  • (Object)

    the current value of callback



5
6
7
# File 'lib/sgf/state_machine.rb', line 5

def callback
  @callback
end

#conditionObject

Returns the value of attribute condition

Returns:

  • (Object)

    the current value of condition



5
6
7
# File 'lib/sgf/state_machine.rb', line 5

def condition
  @condition
end

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



5
6
7
# File 'lib/sgf/state_machine.rb', line 5

def description
  @description
end

#event_patternObject

Returns the value of attribute event_pattern

Returns:

  • (Object)

    the current value of event_pattern



5
6
7
# File 'lib/sgf/state_machine.rb', line 5

def event_pattern
  @event_pattern
end