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
423 424 425 |
# File 'lib/deltacloud.rb', line 423 def initialize(name) @name, @transitions = name, [] end |
Instance Attribute Details
- (Object) name (readonly)
Returns the value of attribute name
420 421 422 |
# File 'lib/deltacloud.rb', line 420 def name @name end |
- (Object) transitions (readonly)
Returns the value of attribute transitions
421 422 423 |
# File 'lib/deltacloud.rb', line 421 def transitions @transitions end |