class RuboCop::Cop::Generator::RequireFileInjector

def require_path

def require_path
  path = source_path.relative_path_from(root_file_path.dirname)
  path.to_s.sub('.rb', '')
end