class FilePresenceRule

Attributes

file_name[RW]

Public Instance Methods

matches?(repository) click to toggle source
# File lib/technologist/rules/file_presence_rule.rb, line 6
def matches?(repository)
  repository.file_exists?(file_name)
end