Parent

Class/Module Index [+]

Quicksearch

Deltacloud::StateMachine::Transition

Attributes

action[R]
destination[R]

Public Class Methods

new(machine, destination) click to toggle source
# File lib/deltacloud/state_machine.rb, line 77
def initialize(machine, destination)
  @machine = machine
  @destination = destination
  @auto   = false
  @action = nil
end

Public Instance Methods

automatically() click to toggle source
# File lib/deltacloud/state_machine.rb, line 84
def automatically
  @auto = true
end
automatically?() click to toggle source
# File lib/deltacloud/state_machine.rb, line 88
def automatically?
  @auto
end
on(action) click to toggle source
# File lib/deltacloud/state_machine.rb, line 92
def on(action)
  @action = action
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.