Method: Sinatra::Base.caller_files

Defined in:
lib/sinatra/base.rb

.caller_filesObject

Like Kernel#caller but excluding certain magic entries and without line / method information; the resulting array contains filenames only.



1686
1687
1688
# File 'lib/sinatra/base.rb', line 1686

def caller_files
  cleaned_caller(1).flatten
end