HomePhorge

Define Symbol#intern if missing.
4f04f2df34aeUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Define Symbol#intern if missing.

Ruby 1.9 defined Symbol#intern as return self, which makes perfect sense.
There is no equivalent on 1.8, which means that we can hit some issues now
that we return symbols for 1.9 compatibility in places.

Since the definition is obvious and correct, we may as well just implement the
missing method.

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

Details

Provenance
Daniel Pittman <daniel@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU8774699cbfff: Fix nameservice provider auto-generated IDs that may overlap.
Branches
Unknown
Tags
Unknown

Event Timeline

Daniel Pittman <daniel@puppetlabs.com> committed rPU4f04f2df34ae: Define Symbol#intern if missing. (authored by Daniel Pittman <daniel@puppetlabs.com>).Mar 30 2012, 9:15 PM