Class: Spackle::BacktraceEntry
- Inherits:
-
Object
- Object
- Spackle::BacktraceEntry
- Defined in:
- lib/spackle/error.rb
Instance Attribute Summary collapse
-
#file ⇒ Object
readonly
Returns the value of attribute file.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
Instance Method Summary collapse
-
#initialize(file, line) ⇒ BacktraceEntry
constructor
A new instance of BacktraceEntry.
Constructor Details
#initialize(file, line) ⇒ BacktraceEntry
Returns a new instance of BacktraceEntry.
4 5 6 |
# File 'lib/spackle/error.rb', line 4 def initialize(file, line) @file, @line = file, line end |
Instance Attribute Details
#file ⇒ Object (readonly)
Returns the value of attribute file.
3 4 5 |
# File 'lib/spackle/error.rb', line 3 def file @file end |
#line ⇒ Object (readonly)
Returns the value of attribute line.
3 4 5 |
# File 'lib/spackle/error.rb', line 3 def line @line end |