Exception: Rubikon::NoDefaultCommandError

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/rubikon/errors.rb

Overview

Raised if the user did not specify a command and no default command exists

See Also:

Author:

  • Sebastian Staudt

Since:

  • 0.3.0

Instance Method Summary collapse

Constructor Details

#initializeNoDefaultCommandError

Returns a new instance of NoDefaultCommandError.

Since:

  • 0.3.0



52
53
54
# File 'lib/rubikon/errors.rb', line 52

def initialize
  super 'You did not specify a command and there is no default command.'
end