[#45530] [ruby-trunk - Feature #6311][Open] memmem()によるrb_memsearch()の高速化 — "Glass_saga (Masaki Matsushita)" <glass.saga@...>

12 messages 2012/04/17

[#45554] [ruby-trunk - Bug #6344][Open] 1.9.3 p125, p194 ruby causes SEGV with test_massign.rb on ppc/ppc64 — "mtasaka (Mamoru Tasaka)" <mtasaka@...>

14 messages 2012/04/23

[ruby-dev:45483] [ruby-trunk - Bug #6241][Assigned] Module#method_defined? with inherited flag

From: "nobu (Nobuyoshi Nakada)" <nobu@...>
Date: 2012-04-01 00:01:51 UTC
List: ruby-dev #45483
Issue #6241 has been reported by nobu (Nobuyoshi Nakada).

----------------------------------------
Bug #6241: Module#method_defined? with inherited flag
https://bugs.ruby-lang.org/issues/6241

Author: nobu (Nobuyoshi Nakada)
Status: Assigned
Priority: Normal
Assignee: matz (Yukihiro Matsumoto)
Category: core
Target version: 2.0.0
ruby -v: 35201


=begin
Currently (({Module#method_defined?})) does not accept "(({inherited}))" flags as (({Module#instance_methods})) and others.
To tell if a method is defined at an exact class/module, we have to use bad idiom:

  mod.instance_methods(false).include?(:foo)

So I propose to let (({method_defined?})) and etc accept the flag.
=end



-- 
http://bugs.ruby-lang.org/

In This Thread

Prev Next