lib/core/checks.rb in buildr-1.2.3 vs lib/core/checks.rb in buildr-1.2.4

- old
+ new

@@ -210,11 +210,11 @@ def empty?() File.directory?(name) ? Dir.glob("#{name}/*").empty? : File.read(name).empty? end # :call-seq: - # contain(pattern*) => boolean - # contain(file*) => boolean + # contain?(pattern*) => boolean + # contain?(file*) => boolean # # For a file, returns true if the file content matches against all the arguments. An argument may be # a string or regular expression. # # For a directory, return true if the directory contains the specified files. You can use relative