Module: RuboCop::Cop::RSpec::FileHelp

Included in:
SpecFilePathFormat, SpecFilePathSuffix
Defined in:
lib/rubocop/cop/rspec/mixin/file_help.rb

Overview

Help methods for file.

Instance Method Summary collapse

Instance Method Details

#expanded_file_pathObject



8
9
10
# File 'lib/rubocop/cop/rspec/mixin/file_help.rb', line 8

def expanded_file_path
  File.expand_path(processed_source.file_path)
end