Class: StackFrame
- Inherits:
-
Object
- Object
- StackFrame
- Defined in:
- lib/stackframe.rb
Defined Under Namespace
Modules: Flags
Instance Attribute Summary collapse
-
#filename ⇒ Object
Returns the value of attribute filename.
-
#klass ⇒ Object
Returns the value of attribute klass.
-
#line_number ⇒ Object
Returns the value of attribute line_number.
-
#method ⇒ Object
Returns the value of attribute method.
Instance Method Summary collapse
Instance Attribute Details
#filename ⇒ Object
Returns the value of attribute filename.
10 11 12 |
# File 'lib/stackframe.rb', line 10 def filename @filename end |
#klass ⇒ Object
Returns the value of attribute klass.
10 11 12 |
# File 'lib/stackframe.rb', line 10 def klass @klass end |
#line_number ⇒ Object
Returns the value of attribute line_number.
10 11 12 |
# File 'lib/stackframe.rb', line 10 def line_number @line_number end |
#method ⇒ Object
Returns the value of attribute method.
10 11 12 |
# File 'lib/stackframe.rb', line 10 def method @method end |
Instance Method Details
#==(other) ⇒ Object
12 13 14 15 16 17 |
# File 'lib/stackframe.rb', line 12 def ==(other) line_number == other.line_number && self.method == other.method && klass == other.klass && filename == other.filename end |