Class: DeltaCloud::InstanceState::State

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

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

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