lib/codenarc/plugin.rb
# The project root, which will be used to make the paths relative.
# Defaults to `pwd`.
# @return   [String] project_root value
# attr_accessor :project_root
The project root, which will be used to make the paths relative.
Defaults to `pwd`.
The project root which will be used to make the paths relative . Defaults to ` pwd ` .
def project_root
      root = @project_root || Dir.pwd
      root += "/" unless root.end_with? "/"
      root
    end
def project_root root = @project_root || Dir . pwd root += "/" unless root . end_with? "/" root end
The project root, which will be used to make the paths relative.
The project root which will be used to make the paths relative .
project_root value attr_accessor :project_root
project_root value attr_accessor : project_root
String