Exception: AsciiTracker::Exception
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- AsciiTracker::Exception
- Defined in:
- lib/asciitracker/exceptions.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#callstack ⇒ Object
readonly
Returns the value of attribute callstack.
-
#reason ⇒ Object
Returns the value of attribute reason.
Instance Method Summary collapse
-
#initialize(*args) ⇒ Exception
constructor
A new instance of Exception.
Constructor Details
#initialize(*args) ⇒ Exception
Returns a new instance of Exception.
7 8 9 10 |
# File 'lib/asciitracker/exceptions.rb', line 7 def initialize *args super *args @callstack = caller end |
Instance Attribute Details
#callstack ⇒ Object (readonly)
Returns the value of attribute callstack.
5 6 7 |
# File 'lib/asciitracker/exceptions.rb', line 5 def callstack @callstack end |
#reason ⇒ Object
Returns the value of attribute reason.
4 5 6 |
# File 'lib/asciitracker/exceptions.rb', line 4 def reason @reason end |