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