Class: Xezat::Detector::Cmake
- Inherits:
-
Object
- Object
- Xezat::Detector::Cmake
- Defined in:
- lib/xezat/detector/cmake.rb
Instance Method Summary collapse
Instance Method Details
#detect(variables) ⇒ Object
8 9 10 11 12 13 |
# File 'lib/xezat/detector/cmake.rb', line 8 def detect(variables) Find.find(variables[:S]) do |file| return true if file.end_with?(File::SEPARATOR + 'CMakeLists.txt') end false end |