Method: Padrino.first_caller

Defined in:
padrino-core/lib/padrino-core/caller.rb

.first_callerString

The filename for the file that is the direct caller (first caller).

Returns:

  • (String)

    The file the caller method exists in.



36
37
38
# File 'padrino-core/lib/padrino-core/caller.rb', line 36

def self.first_caller
  caller_files.first
end