Exception: Cuken::Api::Chef::Knife::CommandTimeout
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Cuken::Api::Chef::Knife::CommandTimeout
- Defined in:
- lib/cuken/api/chef/knife.rb
Overview
Ripped from Grit: github.com/mojombo/grit
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) ⇒ CommandTimeout
constructor
A new instance of CommandTimeout.
Constructor Details
#initialize(command = nil, bytes_read = nil) ⇒ CommandTimeout
Returns a new instance of CommandTimeout.
36 37 38 39 |
# File 'lib/cuken/api/chef/knife.rb', line 36 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.
34 35 36 |
# File 'lib/cuken/api/chef/knife.rb', line 34 def bytes_read @bytes_read end |
#command ⇒ Object
Returns the value of attribute command.
33 34 35 |
# File 'lib/cuken/api/chef/knife.rb', line 33 def command @command end |