Method: RSpec::Core::Example#file_path

Defined in:
lib/rspec/core/example.rb

#file_pathString

Returns the relative path to the file where this example was defined.

Returns:

  • (String)

    the relative path to the file where this example was defined.

[View source]

56
# File 'lib/rspec/core/example.rb', line 56

 :file_path