[#46309] [ruby-trunk - Bug #2154][Assigned] filesystem encoding of UNIX — "usa (Usaku NAKAMURA)" <usa@...>

13 messages 2012/10/29
[#46310] Re: [ruby-trunk - Bug #2154][Assigned] filesystem encoding of UNIX — Tanaka Akira <akr@...> 2012/10/29

2012年10月29日 10:31 usa (Usaku NAKAMURA) <usa@garbagecollect.jp>:

[#46366] Re: [ruby-trunk - Bug #2154][Assigned] filesystem encoding of UNIX — "U.Nakamura" <usa@...> 2012/11/02

こんにちは、なかむら(う)です。

[#46375] Re: [ruby-trunk - Bug #2154][Assigned] filesystem encoding of UNIX — KOSAKI Motohiro <kosaki.motohiro@...> 2012/11/02

>> とくに指定しなければ、default external は locale から設定されるので、

[ruby-dev:46323] [ruby-trunk - Feature #6241][Rejected] Module#method_defined? with inherited flag

From: "matz (Yukihiro Matsumoto)" <matz@...>
Date: 2012-10-30 17:19:01 UTC
List: ruby-dev #46323
Issue #6241 has been updated by matz (Yukihiro Matsumoto).

Status changed from Assigned to Rejected
Target version changed from 2.0.0 to next minor

Tomas has a point. We cannot accept the original idea.
So I reject this proposal. Try again.

In general I am not a big fun of inherited flag, since most inheritance works rather as composition in Ruby.

Matz.

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

Author: nobu (Nobuyoshi Nakada)
Status: Rejected
Priority: Normal
Assignee: matz (Yukihiro Matsumoto)
Category: core
Target version: next minor


=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