class BaseChip::Problem

Attributes

bundle[RW]
file[RW]
signature[RW]

Public Instance Methods

file_and_signature() click to toggle source
# File lib/base_chip/problem.rb, line 29
def file_and_signature
                                                                                               "#{@file} #{@signature}"
end
to_s() click to toggle source
# File lib/base_chip/problem.rb, line 22
def to_s
  if @bundle 
    "#{File.absolute_path(@bundle).gsub(/#{Regexp.escape($project_root)}\/?/,'$PROJECT_ROOT/')} #{@file} #{@signature}"
  else
                                                                                               "#{@file} #{@signature}"
  end
end