Class: ChefCLI::ServiceExceptionInspectors::Base
- Inherits:
-
Object
- Object
- ChefCLI::ServiceExceptionInspectors::Base
- Defined in:
- lib/chef-cli/service_exception_inspectors/base.rb
Instance Attribute Summary collapse
-
#exception ⇒ Object
readonly
Returns the value of attribute exception.
Instance Method Summary collapse
- #extended_error_info ⇒ Object
-
#initialize(exception) ⇒ Base
constructor
A new instance of Base.
- #message ⇒ Object
Constructor Details
#initialize(exception) ⇒ Base
Returns a new instance of Base.
25 26 27 |
# File 'lib/chef-cli/service_exception_inspectors/base.rb', line 25 def initialize(exception) @exception = exception end |
Instance Attribute Details
#exception ⇒ Object (readonly)
Returns the value of attribute exception.
23 24 25 |
# File 'lib/chef-cli/service_exception_inspectors/base.rb', line 23 def exception @exception end |
Instance Method Details
#extended_error_info ⇒ Object
33 34 35 |
# File 'lib/chef-cli/service_exception_inspectors/base.rb', line 33 def extended_error_info "" end |
#message ⇒ Object
29 30 31 |
# File 'lib/chef-cli/service_exception_inspectors/base.rb', line 29 def exception. end |