Sha256: 4b49d8d758c53eeff784fbab7127853572912e847292398e4363973e8fe287f8
Contents?: true
Size: 434 Bytes
Versions: 5
Compression:
Stored size: 434 Bytes
Contents
# frozen_string_literal: true require 'find' module Xezat module Detector class Asciidoc def detect(variables) Find.find(variables[:S]) do |file| next unless file.end_with?("#{File::SEPARATOR}configure.ac", "#{File::SEPARATOR}configure.in") File.foreach(file) do |line| return true if line.include?('asciidoc') end end false end end end end
Version data entries
5 entries across 5 versions & 1 rubygems