123456789_123456789_123456789_123456789_123456789_

Exception: Bundler::Source::Git::GitCommandError

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Subclasses:
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
Inherits: Bundler::GitError
Defined in: lib/bundler/source/git/git_proxy.rb

Class Method Summary

Instance Attribute Summary

Constructor Details

.new(command, path, extra_info = nil) ⇒ GitCommandError

[ GitHub ]

  
# File 'lib/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

Instance Attribute Details

#command (readonly)

[ GitHub ]

  
# File 'lib/bundler/source/git/git_proxy.rb', line 26

attr_reader :command