Class: Xezat::Detector::Gnulib
- Inherits:
-
Object
- Object
- Xezat::Detector::Gnulib
- Defined in:
- lib/xezat/detector/gnulib.rb
Instance Method Summary collapse
Instance Method Details
#detect(variables) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/xezat/detector/gnulib.rb', line 6 def detect(variables) File.foreach(File.join(variables[:top], variables[:cygportfile])) do |line| return true if line.index('gnulib-tools') end false end |