Sha256: fa8d3c75f149d5f3aa08270f68445638fad3d30a0f3ffcb234cc086c7c01dd95

Contents?: true

Size: 608 Bytes

Versions: 1

Compression:

Stored size: 608 Bytes

Contents

require 'method_tracer'

# Define the prefix for the application code. Only calls matching this pattern
# will be recorded.
MethodTracer::Config.app_path = Rails.application.paths.path.to_s

# Override the default output file. Specify a filename string or an IO or StringIO object
# like `$stdout`.
# MethodTracer::Config.output_file = 'output_file_2.log'

# Create a MethodTracer::Tracer object for every gem to be spied on
# MethodTracer::Tracer.new(path: '/var/lib/gems/2.3.0/gems/gibbon-2.2.4/', name: 'Gibbon').enable
# MethodTracer::Tracer.new(path: '/var/lib/gems/2.3.0/gems/other_gem-1.0.0/').enable

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
method_call_tracer-1.0.0 lib/generators/method_tracer/templates/initializer.rb