Refactor #19700
closed
enable rubocop Performance/RedundantMerge and Performance/RedundantMatch
Added by Ohad Levy over 7 years ago.
Updated over 6 years ago.
Description
changes lines such as:
not_found_message.merge! :message => options
to:
not_found_message[:message] = options
and
converts str.match()
to
str =~ ()
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/4559 added
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Translation missing: en.field_release set to 240
Also available in: Atom
PDF