Class: SetUp::RailsTraceSetUp
- Inherits:
-
BaseTraceSetUp
- Object
- BaseTraceSetUp
- SetUp::RailsTraceSetUp
- Defined in:
- lib/xray_method_tracer/set_up/rails_trace_set_up.rb
Instance Attribute Summary collapse
-
#base_klasses ⇒ Object
readonly
Returns the value of attribute base_klasses.
-
#klasses ⇒ Object
readonly
Returns the value of attribute klasses.
-
#source_locations ⇒ Object
readonly
Returns the value of attribute source_locations.
Instance Method Summary collapse
-
#initialize(base_klasses, klasses) ⇒ RailsTraceSetUp
constructor
A new instance of RailsTraceSetUp.
Methods inherited from BaseTraceSetUp
Constructor Details
#initialize(base_klasses, klasses) ⇒ RailsTraceSetUp
Returns a new instance of RailsTraceSetUp.
9 10 11 12 |
# File 'lib/xray_method_tracer/set_up/rails_trace_set_up.rb', line 9 def initialize(base_klasses, klasses) @source_locations = Rails::Constant.target_source_locations super(base_klasses, klasses, source_locations) end |
Instance Attribute Details
#base_klasses ⇒ Object (readonly)
Returns the value of attribute base_klasses.
7 8 9 |
# File 'lib/xray_method_tracer/set_up/rails_trace_set_up.rb', line 7 def base_klasses @base_klasses end |
#klasses ⇒ Object (readonly)
Returns the value of attribute klasses.
7 8 9 |
# File 'lib/xray_method_tracer/set_up/rails_trace_set_up.rb', line 7 def klasses @klasses end |
#source_locations ⇒ Object (readonly)
Returns the value of attribute source_locations.
7 8 9 |
# File 'lib/xray_method_tracer/set_up/rails_trace_set_up.rb', line 7 def source_locations @source_locations end |