Skip to content

Commit

Permalink
Merge pull request #10984 from r7kamura/feature/modifier-example
Browse files Browse the repository at this point in the history
Improve singleton method example on `Lint/UselessAccessModifier` cop
  • Loading branch information
koic committed Sep 1, 2022
2 parents 2fb4c3c + aad6aaa commit ca5b3c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rubocop/cop/lint/useless_access_modifier.rb
Expand Up @@ -31,8 +31,8 @@ module Lint
# # bad
# class Foo
# # The following is redundant (methods defined on the class'
# # singleton class are not affected by the public modifier)
# public
# # singleton class are not affected by the private modifier)
# private
#
# def self.method3
# end
Expand Down

0 comments on commit ca5b3c3

Please sign in to comment.