find_location()
Find the location that called into the dsl layer.
# File lib/rake/task_manager.rb, line 212 def find_location locations = caller i = 0 while locations[i] return locations[i + 1] if locations[i] =~ /rake\/dsl_definition.rb/ i += 1 end nil end