Sha256: 19c3f78bd04fc416624f088bdcafee8050f855899e36b5d3e16ae0e30ec67e87

Contents?: true

Size: 432 Bytes

Versions: 5

Compression:

Stored size: 432 Bytes

Contents

# Usage: copying following in your Rakefile under rails root

# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.

require File.expand_path('../config/application', __FILE__)

SourceRoute.enable 'WantedClass' do
  # output_format :console # optional
end

Rails.application.load_tasks

at_exit do
  SourceRoute.output_html
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
source_route-0.6.0 examples/show_task_trace_in_rails.rb
source_route-0.5.0 examples/show_task_trace_in_rails.rb
source_route-0.4.0 examples/show_task_trace_in_rails.rb
source_route-0.3.0 examples/show_task_trace_in_rails.rb
source_route-0.2.0 examples/show_task_trace_in_rails.rb