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