class Rubikon::UnknownCommandError
Raised if a command has been supplied that does not exist
@author Sebastian Staudt @see Application::DSLMethods#command
@since 0.3.0
Attributes
command[R]
@return [Symbol] The name of the command that has been tried to access
Public Class Methods
new(name)
click to toggle source
Creates a new error and stores the name of the command that could not be found
@param [Symbol] name The name of the unknown command
Calls superclass method
# File lib/rubikon/errors.rb, line 72 def initialize(name) super "Unknown command: #{name}" @command = name end