Exception: Grit::Git::GitTimeout

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/grit/lib/grit/git.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(command = nil, bytes_read = nil) ⇒ GitTimeout

Returns a new instance of GitTimeout.



8
9
10
11
# File 'lib/grit/lib/grit/git.rb', line 8

def initialize(command = nil, bytes_read = nil)
  @command = command
  @bytes_read = bytes_read
end

Instance Attribute Details

#bytes_readObject (readonly)

Returns the value of attribute bytes_read.



6
7
8
# File 'lib/grit/lib/grit/git.rb', line 6

def bytes_read
  @bytes_read
end

#commandObject (readonly)

Returns the value of attribute command.



6
7
8
# File 'lib/grit/lib/grit/git.rb', line 6

def command
  @command
end