Class: DeltaCloud::InstanceState::State

Inherits:
Object
  • Object
show all
Defined in:
lib/instance_state.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ State

Returns a new instance of State.



8
9
10
# File 'lib/instance_state.rb', line 8

def initialize(name)
  @name, @transitions = name, []
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



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

def name
  @name
end

#transitionsObject (readonly)

Returns the value of attribute transitions.



6
7
8
# File 'lib/instance_state.rb', line 6

def transitions
  @transitions
end