[openstreetmap/openstreetmap-website] Increase tag2link item leniency (PR #6470)
Marwin Hochfelsner
notifications at github.com
Tue Oct 28 20:21:37 UTC 2025
@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/3390649704 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251028/42e49c17/attachment.htm>
More information about the rails-dev
mailing list