Exception: RuboCop::Cop::Force::HookError Private

Inherits:
StandardError
  • Object
show all
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

Instance Method Summary collapse

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_copObject (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