mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
rubocop: fix offences of the Style/AccessModifierDeclarations cop
This is a false positive documented in: https://github.com/rubocop-hq/rubocop/issues/5953
This commit is contained in:
parent
9978259afc
commit
e38ee30508
1 changed files with 3 additions and 0 deletions
|
@ -13,8 +13,11 @@ if ENV["COVERAGE"]
|
|||
end
|
||||
|
||||
class Module
|
||||
# False positive: https://github.com/rubocop-hq/rubocop/issues/5953
|
||||
# rubocop:disable Style/AccessModifierDeclarations
|
||||
public :remove_const
|
||||
public :remove_method
|
||||
# rubocop:enable Style/AccessModifierDeclarations
|
||||
end
|
||||
|
||||
Pad = Class.new do
|
||||
|
|
Loading…
Reference in a new issue