Class: Rule
- Inherits:
-
Object
- Object
- Rule
- Defined in:
- lib/technologist/rules/rule.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Rule
constructor
A new instance of Rule.
- #matches?(framework_name, repository) ⇒ Boolean
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 |