class Bundler::Source::Git::GitCommandError

属性

command[R]

公共类方法

new(command, path, extra_info = nil) 点击切换源代码
调用父类方法
# File bundler/source/git/git_proxy.rb, line 28
def initialize(command, path, extra_info = nil)
  @command = command

  msg = String.new("Git error: command `#{command}`")
  msg << " in directory #{path}" if path
  msg << " has failed."
  msg << "\n#{extra_info}" if extra_info
  super msg
end