class MGit::UnknownCommandError

Public Class Methods

new(cmd) click to toggle source
Calls superclass method MGit::UsageError::new
# File lib/mgit/exceptions.rb, line 45
def initialize(cmd)
  super("Unknown command '#{cmd}'.", "Command may be one of: #{Command.list}")
end