Exception: OSwitch::ENOPKG
- Inherits:
-
StandardError
- Object
- StandardError
- OSwitch::ENOPKG
- Defined in:
- lib/oswitch.rb
Instance Method Summary collapse
-
#initialize(name) ⇒ ENOPKG
constructor
A new instance of ENOPKG.
- #to_s ⇒ Object
Constructor Details
#initialize(name) ⇒ ENOPKG
Returns a new instance of ENOPKG.
18 19 20 |
# File 'lib/oswitch.rb', line 18 def initialize(name) @name = name end |
Instance Method Details
#to_s ⇒ Object
22 23 24 |
# File 'lib/oswitch.rb', line 22 def to_s "Recipe to run #@name not available." end |