Class: BinderCore::Debug::Stack::Entry
- Inherits:
-
Object
- Object
- BinderCore::Debug::Stack::Entry
- Defined in:
- lib/binder_core/debug/stack.rb
Overview
This is created for every entry in the stack It holds the feed route, the file or folder path and the class that is dealing with it when the entry is created
Instance Attribute Summary collapse
-
#class_name ⇒ Object
Returns the value of attribute class_name.
-
#file_path ⇒ Object
Returns the value of attribute file_path.
-
#route ⇒ Object
Returns the value of attribute route.
Instance Method Summary collapse
Instance Attribute Details
#class_name ⇒ Object
Returns the value of attribute class_name.
79 80 81 |
# File 'lib/binder_core/debug/stack.rb', line 79 def class_name @class_name end |
#file_path ⇒ Object
Returns the value of attribute file_path.
79 80 81 |
# File 'lib/binder_core/debug/stack.rb', line 79 def file_path @file_path end |
#route ⇒ Object
Returns the value of attribute route.
79 80 81 |
# File 'lib/binder_core/debug/stack.rb', line 79 def route @route end |
Instance Method Details
#to_s ⇒ Object
80 81 82 |
# File 'lib/binder_core/debug/stack.rb', line 80 def to_s return "#{@class_name} at route:(#{@route.join(',')}) to file:#{@file_path}" end |