ruby / forwardable

Provides delegation of specified methods to a designated object
BSD 2-Clause "Simplified" License
43 stars 17 forks source link

Make def_{instance,single}_delegators skip :__send__ and :__id__ #4

Closed jeremyevans closed 5 years ago

jeremyevans commented 5 years ago

Previously, send and id were skipped if provided as strings, but not skipped if provided as symbols.

Fixes Ruby Bug 8855.