class Xezat::Detector::Nasm

Public Instance Methods

detect(variables) click to toggle source
# 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