class Cl::UnknownCmd

Attributes

args[R]
runner[R]

Public Class Methods

new(runner, args) click to toggle source
Calls superclass method Cl::Error::new
# File lib/cl/errors.rb, line 32
def initialize(runner, args)
  @runner = runner
  @args = args
  super(:unknown_cmd, args.join(' '))
end

Public Instance Methods

suggestions() click to toggle source
# File lib/cl/errors.rb, line 38
def suggestions
  runner.suggestions(args)
end