Class: BinderCore::Debug::Stack::Entry

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Instance Attribute Details

#class_nameObject

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_pathObject

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

#routeObject

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_sObject



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