Refactor #6583

Use Enumerable#find instead of each where possible

Added by Dominic Cleal about 4 years ago. Updated 5 days ago.

Status:Closed
Priority:Normal
Assignee:Aaron Stone
Category:Puppet
Target version:1.6.0
Difficulty: Team Backlog:
Triaged: Fixed in Releases:
Bugzilla link: Found in Releases:
Pull request:https://github.com/theforeman/smart-proxy/pull/178

Description

Some untidy code exists which could use Enumerable#find instead of returning nil.

Associated revisions

Revision aa478589
Added by Aaron Stone about 4 years ago

fixes #6583 - Use Enumerable#find instead of each where possible

History

#1 Updated by Aaron Stone about 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#2 Updated by Dominic Cleal almost 4 years ago

  • Assignee set to Aaron Stone

Also available in: Atom PDF