Class: Spackle::BacktraceEntry

Inherits:
Object
  • Object
show all
Defined in:
lib/spackle/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#fileObject (readonly)

Returns the value of attribute file.



3
4
5
# File 'lib/spackle/error.rb', line 3

def file
  @file
end

#lineObject (readonly)

Returns the value of attribute line.



3
4
5
# File 'lib/spackle/error.rb', line 3

def line
  @line
end