Class: Rule

Inherits:
Object
  • Object
show all
Defined in:
lib/technologist/rules/rule.rb

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ Rule



2
3
4
# File 'lib/technologist/rules/rule.rb', line 2

def initialize(attributes = {})
  attributes.each { |name, value| self.send(:"#{name}=", value) }
end

Instance Method Details

#matches?(framework_name, repository) ⇒ Boolean



6
7
8
# File 'lib/technologist/rules/rule.rb', line 6

def matches?(framework_name, repository)
  false
end