From: Julik Tarkhanov <me@...> Date: 2011-06-14T08:13:59+09:00 Subject: [ruby-core:37118] [Ruby 1.9 - Bug #4882][Open] Delegator#methods should accept the singleton flag argument Issue #4882 has been reported by Julik Tarkhanov. ---------------------------------------- Bug #4882: Delegator#methods should accept the singleton flag argument http://redmine.ruby-lang.org/issues/4882 Author: Julik Tarkhanov Status: Open Priority: Normal Assignee: Category: Target version: ruby -v: ruby 1.9.2p180 (2011-02-18 revision 30909) [i386-darwin9.8.0] In the new version of delegate.rb def methods ... end 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. -- http://redmine.ruby-lang.org