Class: Diggit::ErrorEntry
- Inherits:
-
Object
- Object
- Diggit::ErrorEntry
- Defined in:
- lib/dgit/entries.rb
Instance Attribute Summary collapse
-
#backtrace ⇒ Object
readonly
Returns the value of attribute backtrace.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(error) ⇒ ErrorEntry
constructor
A new instance of ErrorEntry.
Constructor Details
#initialize(error) ⇒ ErrorEntry
Returns a new instance of ErrorEntry.
85 86 87 88 89 |
# File 'lib/dgit/entries.rb', line 85 def initialize(error) @name = error.class.name = error.to_s @backtrace = error.backtrace end |
Instance Attribute Details
#backtrace ⇒ Object (readonly)
Returns the value of attribute backtrace.
83 84 85 |
# File 'lib/dgit/entries.rb', line 83 def backtrace @backtrace end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
83 84 85 |
# File 'lib/dgit/entries.rb', line 83 def end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
83 84 85 |
# File 'lib/dgit/entries.rb', line 83 def name @name end |