class Webgen::CommandNotFoundError
This error is raised when a needed external command is not found.
Attributes
cmd[R]
The command that is missing.
Public Class Methods
new(cmd, location = nil, path = nil)
click to toggle source
Create a new CommandNotFoundError.
The parameter cmd specifies the command that is missing.
Calls superclass method
Webgen::Error.new
# File lib/webgen/error.rb, line 152 def initialize(cmd, location = nil, path = nil) super("The needed command '#{cmd}' is missing!", location, path) @cmd = cmd end