Exception: Linterbot::RunnerConfiguration::MissingAttribute
- Inherits:
-
Exception
- Object
- Exception
- Linterbot::RunnerConfiguration::MissingAttribute
- Defined in:
- lib/linterbot/runner_configuration.rb
Instance Attribute Summary collapse
-
#attribute_name ⇒ Object
Returns the value of attribute attribute_name.
-
#fix_description ⇒ Object
Returns the value of attribute fix_description.
Instance Method Summary collapse
-
#initialize(attribute_name, fix_description) ⇒ MissingAttribute
constructor
A new instance of MissingAttribute.
Constructor Details
#initialize(attribute_name, fix_description) ⇒ MissingAttribute
Returns a new instance of MissingAttribute.
16 17 18 19 20 |
# File 'lib/linterbot/runner_configuration.rb', line 16 def initialize(attribute_name, fix_description) super("Missing attribute #{attribute_name}") @attribute_name = attribute_name @fix_description = fix_description end |
Instance Attribute Details
#attribute_name ⇒ Object
Returns the value of attribute attribute_name.
13 14 15 |
# File 'lib/linterbot/runner_configuration.rb', line 13 def attribute_name @attribute_name end |
#fix_description ⇒ Object
Returns the value of attribute fix_description.
14 15 16 |
# File 'lib/linterbot/runner_configuration.rb', line 14 def fix_description @fix_description end |