@hlfan commented on this pull request.
> @@ -0,0 +1,57 @@
+# frozen_string_literal: true
+
+module Tag2link
+ class << self
RuboCop complained that
> `private` (on line 28) does not make singleton methods private. Use
> `private_class_method` or `private` inside a `class << self` block instead.
When I tried `private_class_method` the first time, it didn't work out for me,
but it seems to work now.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6470#discussion_r2470928923
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/6470/review/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev