class Xezat::Detector::Halibut

Public Instance Methods

detect(variables) click to toggle source
# File lib/xezat/detector/halibut.rb, line 8
def detect(variables)
  Find.find(variables[:S]) do |file|
    return true if file.end_with?('.but')
  end
  false
end