Project

General

Profile

Actions

Refactor #6583

closed

Use Enumerable#find instead of each where possible

Added by Dominic Cleal over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Puppet
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

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

Actions

Also available in: Atom PDF