ruby-changes:62343
From: aycabta <ko1@a...>
Date: Wed, 22 Jul 2020 02:42:21 +0900 (JST)
Subject: [ruby-changes:62343] f76d67f484 (master): [ruby/rdoc] Fix RDoc::Context#instance_method_list
https://git.ruby-lang.org/ruby.git/commit/?id=f76d67f484 From f76d67f484b55131f45586e5f515db61e9bd41e7 Mon Sep 17 00:00:00 2001 From: aycabta <aycabta@g...> Date: Tue, 26 May 2020 23:25:50 +0900 Subject: [ruby/rdoc] Fix RDoc::Context#instance_method_list The warn method returns nil, it's a bug of #instance_method_list. https://github.com/ruby/rdoc/commit/a20df89263 diff --git a/lib/rdoc/context.rb b/lib/rdoc/context.rb index 7d5ea98..b3caa53 100644 --- a/lib/rdoc/context.rb +++ b/lib/rdoc/context.rb @@ -1003,8 +1003,8 @@ class RDoc::Context < RDoc::CodeObject https://github.com/ruby/ruby/blob/trunk/lib/rdoc/context.rb#L1003 # TODO remove this later def instance_method_list - @instance_methods ||= method_list.reject { |a| a.singleton } warn '#instance_method_list is obsoleted, please use #instance_methods' + @instance_methods ||= method_list.reject { |a| a.singleton } end ## -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/