Exception: Grit::Git::GitTimeout

Inherits:
RuntimeError
  • Object
show all
Defined in:
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.



12
13
14
15
# File 'lib/grit/git.rb', line 12

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

Instance Attribute Details

#bytes_readObject

Returns the value of attribute bytes_read.



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

def bytes_read
  @bytes_read
end

#commandObject

Returns the value of attribute command.



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

def command
  @command
end