Related toBug #10661: The "possible reference to past scope" warning is quite frustrating and is forcing me to change my variable names from what I want added
I have no pro or con opinion so I will not comment on the suggestion.
I have one question though, apologies for a bit of side tracking:
Can this be combined with other comment options such as "# frozen_string_literal: true"
?
Perhaps it may not apply as your example is only commandline but
I wanted to ask just in case anyone may want to combine more
than one option, for whatever reason, into the .rb file at hand.
Are we relying on rubocop as ruby’s official linter?
This question comes inline with my recent previous comment around core functionalities that I believe should be better managed as part of ruby API.
Debugger, Coverage, Unit tests, Benchmarks, Performance tools and yes Linter.
Missing Documentation here.
Maybe something else?