Class: Xezat::Detector::Nasm
- Inherits:
-
Object
- Object
- Xezat::Detector::Nasm
- Defined in:
- lib/xezat/detector/nasm.rb
Instance Method Summary collapse
Instance Method Details
#detect(variables) ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/xezat/detector/nasm.rb', line 6 def detect(variables) if variables.key?(:_meson_CYGCLASS_) File.foreach(File.join(variables[:S], 'meson.build')) do |line| return true if line.include?("find_program('nasm')") end end false end |