class PMD::Stop

Public Class Methods

new() click to toggle source
# File lib/pmd/stop.rb, line 7
def initialize

end
stopped() click to toggle source
# File lib/pmd/stop.rb, line 17
def self.stopped
  if File.exists? Config.stop_path
    FileUtils.rm Config.stop_path
    return true
  end
  return false
end

Public Instance Methods

execute!() click to toggle source
# File lib/pmd/stop.rb, line 11
def execute!

  FileUtils.touch Config.stop_path

end