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
152 def initialize(cmd, location = nil, path = nil)
153   super("The needed command '#{cmd}' is missing!", location, path)
154   @cmd = cmd
155 end