Class: MethodTraceSetUpFactory
- Inherits:
-
Object
- Object
- MethodTraceSetUpFactory
- Defined in:
- lib/xray_method_tracer/set_up/factory/method_trace_set_up_factory.rb
Class Method Summary collapse
Class Method Details
.create(base_klasses, klasses) ⇒ Object
7 8 9 10 11 |
# File 'lib/xray_method_tracer/set_up/factory/method_trace_set_up_factory.rb', line 7 def self.create(base_klasses, klasses) return SetUp::RailsTraceSetUp.new(base_klasses, klasses) if Object.const_defined?("Rails::VERSION") SetUp::PureRubyTraceSetUp.new(base_klasses, klasses) end |