Sha256: 6325f1fa58b907d8119eff5a802723ecd1b50b3959a1f8bc8b43e64b152ec3f1

Contents?: true

Size: 185 Bytes

Versions: 3

Compression:

Stored size: 185 Bytes

Contents

require 'technologist/rules/rule'

class FilePresenceRule < Rule
  attr_accessor :file_name

  def matches?(framework_name, repository)
    repository.file_exists?(file_name)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
technologist-0.3.0 lib/technologist/rules/file_presence_rule.rb
technologist-0.2.1 lib/technologist/rules/file_presence_rule.rb
technologist-0.2.0 lib/technologist/rules/file_presence_rule.rb