Flowdock
method

rakefile_location

Importance_0
v2_1_10 - Show latest stable - 0 notes - Class: Application
rakefile_location(backtrace=caller) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rake/application.rb, line 715
    def rakefile_location(backtrace=caller)
      backtrace.map { |t| t[/([^:]+):/, 1] }

      re = /^#{@rakefile}$/
      re = /#{re.source}/ if windows?

      backtrace.find { |str| str =~ re } || ''
    end
Register or log in to add new notes.