Exception: OSwitch::ENOPKG

Inherits:
StandardError
  • Object
show all
Defined in:
lib/oswitch/exceptions.rb

Instance Method Summary collapse

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_sObject



7
8
9
# File 'lib/oswitch/exceptions.rb', line 7

def to_s
  "Recipe to run #@name not available."
end