ruby-dev (Japanese) list archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-dev:44037] [Ruby 1.9 - Feature #4976][Open] Pathname#=~ が undef されている理由
@ 2011-07-05  7:50 Kenta Murata
  2011-07-28 12:50 ` [ruby-dev:44265] " Tanaka Akira
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Kenta Murata @ 2011-07-05  7:50 UTC (permalink / raw
  To: ruby developers list


Issue #4976 has been reported by Kenta Murata.

----------------------------------------
Feature #4976: Pathname#=~ が undef されている理由
http://redmine.ruby-lang.org/issues/4976

Author: Kenta Murata
Status: Open
Priority: Normal
Assignee: Akira Tanaka
Category: ext
Target version: 1.9.x


Pathname#=~ が欲しいなぁと思って、patch を書いて feature request を投稿しようとしたところ、
Init_pathname の中で明示的に undef されている事に気が付きました。

このメソッドが undef されている理由を教えて頂けませんか。
その理由を伺ったうえで、=~ を以下と同じ挙動を持つメソッドとして追加することを提案するかどうか決めたいです。

class Pathname
  def =~(pattern)
    self.to_s =~ pattern
  end
end



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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ruby-dev:44265] Re: [Ruby 1.9 - Feature #4976][Open] Pathname#=~  が undef  されている理由
  2011-07-05  7:50 [ruby-dev:44037] [Ruby 1.9 - Feature #4976][Open] Pathname#=~ が undef されている理由 Kenta Murata
@ 2011-07-28 12:50 ` Tanaka Akira
  2011-11-01 12:00 ` [ruby-dev:44760] [ruby-trunk - Feature #4976][Feedback] " Akira Tanaka
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Tanaka Akira @ 2011-07-28 12:50 UTC (permalink / raw
  To: ruby developers list

2011年7月5日16:50 Kenta Murata <muraken@gmail•com>:
>
> Pathname#=~ が欲しいなぁと思って、patch を書いて feature request を投稿しようとしたところ、
> Init_pathname の中で明示的に undef されている事に気が付きました。
>
> このメソッドが undef されている理由を教えて頂けませんか。
> その理由を伺ったうえで、=~ を以下と同じ挙動を持つメソッドとして追加することを提案するかどうか決めたいです。

log をみると以下で undef してますが、
[ruby-core:19690] (と [ruby-core:19693]) をみると、
Ruby でのパターンマッチは regexp を先に書くものだから、
というような気がします。

r20629 | akr | 2008-12-11 19:21:14 +0900 (Thu, 11 Dec 2008) | 3 lines

* lib/pathname.rb (Pathname#=~): undefed.  at asakusa.rb.
  [ruby-core:19690]
-- 
[田中 哲][たなか あきら][Tanaka Akira]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ruby-dev:44760] [ruby-trunk - Feature #4976][Feedback] Pathname#=~ が undef されている理由
  2011-07-05  7:50 [ruby-dev:44037] [Ruby 1.9 - Feature #4976][Open] Pathname#=~ が undef されている理由 Kenta Murata
  2011-07-28 12:50 ` [ruby-dev:44265] " Tanaka Akira
@ 2011-11-01 12:00 ` Akira Tanaka
  2012-10-25  8:44 ` [ruby-dev:46265] [ruby-trunk - Feature #4976] " yhara (Yutaka HARA)
  2013-04-04 14:36 ` [ruby-dev:47222] [ruby-trunk - Feature #4976][Rejected] " akr (Akira Tanaka)
  3 siblings, 0 replies; 5+ messages in thread
From: Akira Tanaka @ 2011-11-01 12:00 UTC (permalink / raw
  To: ruby developers list


Issue #4976 has been updated by Akira Tanaka.

Status changed from Open to Feedback


----------------------------------------
Feature #4976: Pathname#=~ が undef されている理由
http://redmine.ruby-lang.org/issues/4976

Author: Kenta Murata
Status: Feedback
Priority: Normal
Assignee: Akira Tanaka
Category: ext
Target version: 2.0.0


Pathname#=~ が欲しいなぁと思って、patch を書いて feature request を投稿しようとしたところ、
Init_pathname の中で明示的に undef されている事に気が付きました。

このメソッドが undef されている理由を教えて頂けませんか。
その理由を伺ったうえで、=~ を以下と同じ挙動を持つメソッドとして追加することを提案するかどうか決めたいです。

class Pathname
  def =~(pattern)
    self.to_s =~ pattern
  end
end



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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ruby-dev:46265] [ruby-trunk - Feature #4976] Pathname#=~ が undef されている理由
  2011-07-05  7:50 [ruby-dev:44037] [Ruby 1.9 - Feature #4976][Open] Pathname#=~ が undef されている理由 Kenta Murata
  2011-07-28 12:50 ` [ruby-dev:44265] " Tanaka Akira
  2011-11-01 12:00 ` [ruby-dev:44760] [ruby-trunk - Feature #4976][Feedback] " Akira Tanaka
@ 2012-10-25  8:44 ` yhara (Yutaka HARA)
  2013-04-04 14:36 ` [ruby-dev:47222] [ruby-trunk - Feature #4976][Rejected] " akr (Akira Tanaka)
  3 siblings, 0 replies; 5+ messages in thread
From: yhara (Yutaka HARA) @ 2012-10-25  8:44 UTC (permalink / raw
  To: ruby developers list


Issue #4976 has been updated by yhara (Yutaka HARA).

Target version changed from 2.0.0 to next minor


----------------------------------------
Feature #4976: Pathname#=~ が undef されている理由
https://bugs.ruby-lang.org/issues/4976#change-31514

Author: mrkn (Kenta Murata)
Status: Feedback
Priority: Normal
Assignee: akr (Akira Tanaka)
Category: ext
Target version: next minor


Pathname#=~ が欲しいなぁと思って、patch を書いて feature request を投稿しようとしたところ、
Init_pathname の中で明示的に undef されている事に気が付きました。

このメソッドが undef されている理由を教えて頂けませんか。
その理由を伺ったうえで、=~ を以下と同じ挙動を持つメソッドとして追加することを提案するかどうか決めたいです。

class Pathname
  def =~(pattern)
    self.to_s =~ pattern
  end
end



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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [ruby-dev:47222] [ruby-trunk - Feature #4976][Rejected] Pathname#=~ が undef されている理由
  2011-07-05  7:50 [ruby-dev:44037] [Ruby 1.9 - Feature #4976][Open] Pathname#=~ が undef されている理由 Kenta Murata
                   ` (2 preceding siblings ...)
  2012-10-25  8:44 ` [ruby-dev:46265] [ruby-trunk - Feature #4976] " yhara (Yutaka HARA)
@ 2013-04-04 14:36 ` akr (Akira Tanaka)
  3 siblings, 0 replies; 5+ messages in thread
From: akr (Akira Tanaka) @ 2013-04-04 14:36 UTC (permalink / raw
  To: ruby developers list


Issue #4976 has been updated by akr (Akira Tanaka).

Status changed from Feedback to Rejected

No reply after feedback.
----------------------------------------
Feature #4976: Pathname#=~ が undef されている理由
https://bugs.ruby-lang.org/issues/4976#change-38221

Author: mrkn (Kenta Murata)
Status: Rejected
Priority: Normal
Assignee: akr (Akira Tanaka)
Category: ext
Target version: next minor


Pathname#=~ が欲しいなぁと思って、patch を書いて feature request を投稿しようとしたところ、
Init_pathname の中で明示的に undef されている事に気が付きました。

このメソッドが undef されている理由を教えて頂けませんか。
その理由を伺ったうえで、=~ を以下と同じ挙動を持つメソッドとして追加することを提案するかどうか決めたいです。

class Pathname
  def =~(pattern)
    self.to_s =~ pattern
  end
end



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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-04-04 14:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-05  7:50 [ruby-dev:44037] [Ruby 1.9 - Feature #4976][Open] Pathname#=~ が undef されている理由 Kenta Murata
2011-07-28 12:50 ` [ruby-dev:44265] " Tanaka Akira
2011-11-01 12:00 ` [ruby-dev:44760] [ruby-trunk - Feature #4976][Feedback] " Akira Tanaka
2012-10-25  8:44 ` [ruby-dev:46265] [ruby-trunk - Feature #4976] " yhara (Yutaka HARA)
2013-04-04 14:36 ` [ruby-dev:47222] [ruby-trunk - Feature #4976][Rejected] " akr (Akira Tanaka)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).