HomePhorge

(#4862) define_method is not a public method in Ruby.
8e1176639afbUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#4862) define_method is not a public method in Ruby.

The better-definers part of the EventLoop library change define_method to
be public on all objects, rather than private. This isn't standard in Ruby,
and we only had one place that wasn't respecting this to start with.

Rather than retaining this divergence we just use send to trigger the
behaviour externally in the one place that is needed.

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
rPU11501a7c8db9: (#4862) `returning` is not a standard Ruby method.
Branches
Unknown
Tags
Unknown

Event Timeline

Daniel Pittman <daniel@puppetlabs.com> committed rPU8e1176639afb: (#4862) define_method is not a public method in Ruby. (authored by Daniel Pittman <daniel@puppetlabs.com>).Feb 22 2012, 11:01 PM