Exception: Grit::Git::GitTimeout
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Grit::Git::GitTimeout
- Defined in:
- lib/grit/git.rb
Instance Attribute Summary collapse
-
#bytes_read ⇒ Object
Returns the value of attribute bytes_read.
-
#command ⇒ Object
Returns the value of attribute command.
Instance Method Summary collapse
-
#initialize(command = nil, bytes_read = nil) ⇒ GitTimeout
constructor
A new instance of GitTimeout.
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_read ⇒ Object
Returns the value of attribute bytes_read.
10 11 12 |
# File 'lib/grit/git.rb', line 10 def bytes_read @bytes_read end |
#command ⇒ Object
Returns the value of attribute command.
9 10 11 |
# File 'lib/grit/git.rb', line 9 def command @command end |