Exception: OSwitch::ENOPKG
- Inherits:
-
StandardError
- Object
- StandardError
- OSwitch::ENOPKG
- Defined in:
- lib/oswitch/exceptions.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.
3 4 5 |
# File 'lib/oswitch/exceptions.rb', line 3 def initialize(name) @name = name end |
Instance Method Details
#to_s ⇒ Object
7 8 9 |
# File 'lib/oswitch/exceptions.rb', line 7 def to_s "Recipe to run #@name not available." end |