Flowdock
method

rakefile_location

Importance_0
Ruby latest stable (v1_9_3_392) - 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.