Class: Sfn::Lint::RuleSet::Creator
- Inherits:
-
Object
- Object
- Sfn::Lint::RuleSet::Creator
- Defined in:
- lib/sfn/lint/rule_set.rb
Overview
Helper class for ruleset generation
Defined Under Namespace
Instance Attribute Summary collapse
-
#items ⇒ Object
readonly
Returns the value of attribute items.
-
#provider ⇒ Object
readonly
Returns the value of attribute provider.
Instance Method Summary collapse
-
#initialize(provider) ⇒ Creator
constructor
A new instance of Creator.
Constructor Details
#initialize(provider) ⇒ Creator
Returns a new instance of Creator.
12 13 14 15 |
# File 'lib/sfn/lint/rule_set.rb', line 12 def initialize(provider) @provider = provider @items = [] end |
Instance Attribute Details
#items ⇒ Object (readonly)
Returns the value of attribute items.
10 11 12 |
# File 'lib/sfn/lint/rule_set.rb', line 10 def items @items end |
#provider ⇒ Object (readonly)
Returns the value of attribute provider.
10 11 12 |
# File 'lib/sfn/lint/rule_set.rb', line 10 def provider @provider end |