Exception: OSwitch::ENOPKG

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

Instance Method Summary collapse

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_sObject



22
23
24
# File 'lib/oswitch.rb', line 22

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