Class: DeltaCloud::InstanceState::State
- Inherits:
-
Object
- Object
- DeltaCloud::InstanceState::State
- Defined in:
- lib/deltacloud.rb
Instance Attribute Summary (collapse)
-
- (Object) name
readonly
Returns the value of attribute name.
-
- (Object) transitions
readonly
Returns the value of attribute transitions.
Instance Method Summary (collapse)
-
- (State) initialize(name)
constructor
A new instance of State.
Constructor Details
- (State) initialize(name)
A new instance of State
487 488 489 |
# File 'lib/deltacloud.rb', line 487 def initialize(name) @name, @transitions = name, [] end |
Instance Attribute Details
- (Object) name (readonly)
Returns the value of attribute name
484 485 486 |
# File 'lib/deltacloud.rb', line 484 def name @name end |
- (Object) transitions (readonly)
Returns the value of attribute transitions
485 486 487 |
# File 'lib/deltacloud.rb', line 485 def transitions @transitions end |