HomePhorge

Protect all existing methods when monkey-patching.
0dc446956894Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Protect all existing methods when monkey-patching.

Most, but not all, the method we add to objects while monkey-patching were
correctly protected against overriding a core method. This adds the right
protections to the handful that were missing them.

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
rPU860d91658e74: Fix the shellquote parser function on Ruby 1.9
Branches
Unknown
Tags
Unknown

Event Timeline

Daniel Pittman <daniel@puppetlabs.com> committed rPU0dc446956894: Protect all existing methods when monkey-patching. (authored by Daniel Pittman <daniel@puppetlabs.com>).Mar 30 2012, 9:15 PM