Returns an array with a stack trace of the application’s files.
Source Code
# File merb/core_ext/kernel.rb, line 129 def __app_file_trace__ caller.select do |call| call.include?(Merb.root) && !call.include?(Merb.root + "/framework") end.map do |call| file, line = call.scan(Regexp.new("#{Merb.root}/(.*):(.*)")).first "#{file}:#{line}" end end
<code/>and<pre/>for code samples.