Class: DeltaCloud::InstanceState::Transition
- Inherits:
-
Object
- Object
- DeltaCloud::InstanceState::Transition
- Defined in:
- lib/deltacloud.rb
Instance Attribute Summary (collapse)
-
- (Object) action
readonly
Returns the value of attribute action.
-
- (Object) to
readonly
Returns the value of attribute to.
Instance Method Summary (collapse)
- - (Boolean) auto?
-
- (Transition) initialize(to, action)
constructor
A new instance of Transition.
Constructor Details
- (Transition) initialize(to, action)
A new instance of Transition
496 497 498 499 |
# File 'lib/deltacloud.rb', line 496 def initialize(to, action) @to = to @action = action end |
Instance Attribute Details
- (Object) action (readonly)
Returns the value of attribute action
494 495 496 |
# File 'lib/deltacloud.rb', line 494 def action @action end |
- (Object) to (readonly)
Returns the value of attribute to
493 494 495 |
# File 'lib/deltacloud.rb', line 493 def to @to end |
Instance Method Details
- (Boolean) auto?
501 502 503 |
# File 'lib/deltacloud.rb', line 501 def auto? @action.nil? end |