HomePhorge

(#6928) backport Symbol#to_proc for Ruby < 1.8.7
5427f1e93d15Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#6928) backport Symbol#to_proc for Ruby < 1.8.7

We use the &:foo symbol-to-proc syntax in some of our code, so to avoid
problems on Ruby earlier than 1.8.7 we should backport the support in our
monkey-patch file.

Backported to 2.6.x to ease working there as part of #2848.

Signed-off-by: Daniel Pittman <daniel@puppetlabs.com>

Details

Provenance
Daniel Pittman <daniel@puppetlabs.com>Authored on
Nick Lewis <nick@puppetlabs.com>Committed on Oct 22 2011, 12:51 AM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU2bf8004b05d7: Updates for 2.6.11
Branches
Unknown
Tags
Unknown

Event Timeline

Nick Lewis <nick@puppetlabs.com> committed rPU5427f1e93d15: (#6928) backport Symbol#to_proc for Ruby < 1.8.7 (authored by Daniel Pittman <daniel@puppetlabs.com>).Oct 22 2011, 12:51 AM