class MGit::CommandUsageError

Public Class Methods

new(error, cmd) click to toggle source
Calls superclass method MGit::UsageError::new
# File lib/mgit/exceptions.rb, line 51
def initialize(error, cmd)
  super(error, "Usage: mgit #{cmd.usage}")
end