Class: Xezat::Detector::Gengetopt
- Inherits:
-
Object
- Object
- Xezat::Detector::Gengetopt
- Defined in:
- lib/xezat/detector/gengetopt.rb
Instance Method Summary collapse
Instance Method Details
#detect(variables) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/xezat/detector/gengetopt.rb', line 6 def detect(variables) Find.find(variables[:S]) do |file| return true if file.end_with?('.ggo') end false end |