Class: Inspector::ExceptionHound
- Inherits:
-
Object
- Object
- Inspector::ExceptionHound
- Defined in:
- lib/exception_hound.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
Returns the value of attribute message.
Instance Method Summary collapse
- #find_message(error) ⇒ Object
-
#initialize(error) ⇒ ExceptionHound
constructor
A new instance of ExceptionHound.
- #query ⇒ Object
Constructor Details
#initialize(error) ⇒ ExceptionHound
Returns a new instance of ExceptionHound.
5 6 7 |
# File 'lib/exception_hound.rb', line 5 def initialize(error) self. = error end |
Instance Attribute Details
#message ⇒ Object
Returns the value of attribute message.
3 4 5 |
# File 'lib/exception_hound.rb', line 3 def @message end |
Instance Method Details
#find_message(error) ⇒ Object
9 10 11 |
# File 'lib/exception_hound.rb', line 9 def (error) error.to_s end |
#query ⇒ Object
13 14 15 16 17 18 19 |
# File 'lib/exception_hound.rb', line 13 def query undefined simple_nil demangle_instances end |