Exception: RuboCop::Cop::Force::HookError Private
- Inherits:
-
StandardError
- Object
- StandardError
- RuboCop::Cop::Force::HookError
- Defined in:
- lib/rubocop/cop/force.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
- #joining_cop ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(joining_cop) ⇒ HookError
constructor
private
A new instance of HookError.
Constructor Details
#initialize(joining_cop) ⇒ HookError
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of HookError.
11 12 13 14 |
# File 'lib/rubocop/cop/force.rb', line 11 def initialize(joining_cop) super @joining_cop = joining_cop end |
Instance Attribute Details
#joining_cop ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
9 10 11 |
# File 'lib/rubocop/cop/force.rb', line 9 def joining_cop @joining_cop end |