Exception: EC2::Platform::Unknown

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ Unknown

Returns a new instance of Unknown.



18
19
20
21
# File 'lib/ec2/platform/current.rb', line 18

def initialize(name)
  super("Unknown platform: #{name}")
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



22
23
24
# File 'lib/ec2/platform/current.rb', line 22

def name
  @name
end