puppetlabs/Razor — pull request #154 by bodepd (2012-07-25 05:48:38+00:00)
Title: Refactor: simplify leading option counting code

This commit refactors code from the razor executable in
order to simplify it.

The code is currently creating a range based on the number of
leading options and performing an each on it.

This code has been replaced by the times method which is much more
succient and readable.