Exception: EC2::Platform::Unsupported

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/ec2/platform/current.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ Unsupported

Returns a new instance of Unsupported.



26
27
28
29
# File 'lib/ec2/platform/current.rb', line 26

def initialize(name)
  super("Unsupported or unimplemented platform: #{name}")
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



30
31
32
# File 'lib/ec2/platform/current.rb', line 30

def name
  @name
end