class Xezat::Detector::Gengetopt

Public Instance Methods

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