class Xezat::Detector::Roundup

Public Instance Methods

detect(variables) click to toggle source
# File lib/xezat/detector/roundup.rb, line 8
def detect(variables)
  File.foreach(File.join(variables[:top], variables[:cygportfile])) do |line|
    return true if line.index('roundup')
  end
  false
end