1
0
Fork 0
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:
Kyrylo Silin 2019-03-08 00:35:36 +02:00
parent 9978259afc
commit e38ee30508

View file

@ -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