Class: RSpec::Risky::RuleConfig
- Inherits:
-
Object
- Object
- RSpec::Risky::RuleConfig
- Defined in:
- lib/rspec/risky/configuration.rb,
sig/rspec/risky.rbs
Direct Known Subclasses
Constant Summary collapse
- VALID_SEVERITIES =
%i[risky fail].freeze
Instance Attribute Summary collapse
-
#severity ⇒ Symbol
Returns the value of attribute severity.
Instance Method Summary collapse
-
#initialize ⇒ RuleConfig
constructor
A new instance of RuleConfig.
Constructor Details
#initialize ⇒ RuleConfig
Returns a new instance of RuleConfig.
38 39 40 |
# File 'lib/rspec/risky/configuration.rb', line 38 def initialize @severity = :risky end |
Instance Attribute Details
#severity ⇒ Symbol
Returns the value of attribute severity.
36 37 38 |
# File 'lib/rspec/risky/configuration.rb', line 36 def severity @severity end |