You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And apparently it breaks codeclimate-duplication engine: Skipping file examle.rb due to exception (Racc::ParseError): example.rb:5 :: parse error on value ":" (tCOLON)
example.rb content:
# frozen_string_literal: true
class Example
def perform(id)
Model.find_by!(id:)
end
end
Thanks
The text was updated successfully, but these errors were encountered:
Hash value omission was introduced with ruby 3.1 - rubyreferences.github.io/rubychanges/3.1.html#values-in-hash-literals-and-keyword-arguments-can-be-omitted
And apparently it breaks codeclimate-duplication engine:
Skipping file examle.rb due to exception (Racc::ParseError): example.rb:5 :: parse error on value ":" (tCOLON)
example.rb
content:Thanks
The text was updated successfully, but these errors were encountered: