HomePhorge

(#6830) Handle case where array is actually a string
a520c5e3f6cbUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#6830) Handle case where array is actually a string

Another case where in Ruby 1.8 you can call enumerable methods on
strings that you can't in Ruby 1.9.

undefined method `collect' for "dev2 dev1":String

Reviewed-by: Jesse Wolfe <jesse@puppetlabs.com>

Details

Provenance
Matt Robinson <matt@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU85f3b767e827: (#6830) Fix case where instance_variables returns symbols in Ruby 1.9
Branches
Unknown
Tags
Unknown

Event Timeline

Matt Robinson <matt@puppetlabs.com> committed rPUa520c5e3f6cb: (#6830) Handle case where array is actually a string (authored by Matt Robinson <matt@puppetlabs.com>).Mar 29 2011, 7:59 PM