ホームIT関連プログラミング学習 【Rubocop】Style/RedundantSelf:の対処について 2022年3月8日 SHARE ツイート シェア はてブ LINE Pocket 【Rubocop】Style/RedundantSelf:の対処について 結論 警告の出た部分のselfを削除すればOK。 明示的にselfを示した方がコードの内容がわかりやすい場合もあるので、そこは検討する必要があります。 👇 以下参考にしました。 https://gist.github.com/linyows/ace586b118f87291ed3e Leave a Reply Cancel replyYour email address will not be published.Comment Name Email Website Please input characters displayed above.