Delegator#methods should accept the singleton flag argument
In the new version of delegate.rb
does not accept the "also_declared_on_class" argument, which causes failures for libraries that call Object#methods with an argument and therefore excercise this functionality.
On a sidenote, Object#methods somehow is not documented for 1.9 - but maybe I looked in the wrong place?
This is probaby relevant for rubyspec as well so I've filed it under https://github.com/rubyspec/rubyspec/pull/55
If the idea is to remove Object#methods or Object#methods with arity of 1 only it would be good to drop it on Object as well so that explosions are louder and the relevant calling code is fixed asap.
Updated by naruse (Yui NARUSE) almost 11 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100