class Guard::Watcher
def self.match_guardfile?(files)
-
(Boolean)- whether one of these files is the Guardfile
Parameters:
-
the(Array) -- files to test
def self.match_guardfile?(files) files.any? { |file| "#{ Dir.pwd }/#{ file }" == Dsl.guardfile_path } end