Exception: EC2::Platform::Unknown
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- EC2::Platform::Unknown
- Defined in:
- lib/ec2/platform/current.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ Unknown
constructor
A new instance of Unknown.
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
#name ⇒ Object (readonly)
Returns the value of attribute name.
22 23 24 |
# File 'lib/ec2/platform/current.rb', line 22 def name @name end |