Refactor #6583

Use Enumerable#find instead of each where possible

Added by Dominic Cleal over 3 years ago. Updated over 3 years ago.

Status:Closed
Priority:Normal
Assigned To:Aaron Stone
Category:Puppet
Target version:Foreman - Sprint 26
Difficulty: Bugzilla link:
Found in release: Pull request:https://github.com/theforeman/smart-proxy/pull/178
Story points-
Velocity based estimate-
Release1.6.0Release relationshipAuto

Description

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

Associated revisions

Revision aa478589
Added by Aaron Stone over 3 years ago

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

History

#1 Updated by Aaron Stone over 3 years ago

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

#2 Updated by Dominic Cleal over 3 years ago

  • Assigned To set to Aaron Stone

Also available in: Atom PDF