Class: Sinatra::Application

Inherits:
Object
  • Object
show all
Defined in:
lib/tebako-runtime/adapters/sinatra.rb

Class Method Summary collapse

Class Method Details

.caller_filesObject



34
35
36
37
38
39
# File 'lib/tebako-runtime/adapters/sinatra.rb', line 34

def caller_files
  # Call the original caller_files method to get the original array
  original_list = original_caller_files
  # Filter out entries ending with 'tebako-runtime'
  original_list.reject { |file| file.end_with?("tebako-runtime.rb") }
end

.original_caller_filesObject



32
# File 'lib/tebako-runtime/adapters/sinatra.rb', line 32

alias original_caller_files caller_files