Flowdock
method

rakefile_location

Importance_0
v1_9_3_125 - 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 586
    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.