lib/technologist/rules/file_presence_rule.rb in technologist-0.3.0 vs lib/technologist/rules/file_presence_rule.rb in technologist-0.4.0
- old
+ new
@@ -1,9 +1,9 @@
require 'technologist/rules/rule'
class FilePresenceRule < Rule
attr_accessor :file_name
- def matches?(framework_name, repository)
+ def matches?(repository)
repository.file_exists?(file_name)
end
end