nevir/rubocop-rspec

View on GitHub
lib/rubocop/cop/rspec/mixin/file_help.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

module RuboCop
  module Cop
    module RSpec
      # Help methods for file.
      module FileHelp
        def expanded_file_path
          File.expand_path(processed_source.file_path)
        end
      end
    end
  end
end