puppetlabs/puppetlabs-stdlib — pull request #131 by mhellmic (2013-02-18 15:07:43+00:00)
Title: .count method not supported in older ruby versions

I changed the .count method used in file-line/ruby.rb to .size in order to support older ruby versions.

Notably Scientific Linux 5.X only sports a 1.8.5 ruby version, where .count does not exist.