[#28217] ANDCALL operator (Re: [ruby-list:41768] Re: nilの扱い) — nobuyoshi nakada <nobuyoshi.nakada@...>
なかだです。
6 messages
2006/01/13
[#28223] FYI: Fix bug: FileUtils.mv() does not unlink source file when moving over filesystem boundaries — 植田裕之 <ueda@...>
植田と申します。
7 messages
2006/01/17
[#28227] Re: FYI: Fix bug: FileUtils.mv() does not unlink source file when moving over filesystem boundaries
— akira yamada / やまだあきら <akira@...>
2006/01/17
植田裕之 wrote:
[#28230] bcc32 memory manager — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
山本です。
15 messages
2006/01/18
[#28231] Re: bcc32 memory manager
— "U.Nakamura" <usa@...>
2006/01/18
こんにちは、なかむら(う)です。
[#28232] Re: bcc32 memory manager
— "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
2006/01/18
山本です。
[#28358] Re: bcc32 memory manager
— "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
2006/02/21
山本です。
[#28376] Re: bcc32 memory manager
— "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
2006/02/23
山本です。
[#28233] 1.8.5 release plan? — "URABE Shyouhei aka. mput" <root@...>
卜部です。
9 messages
2006/01/18
[#28240] String クラス insert メソッド — 北浦 友規 <uv2t-ktur@...>
String クラスの insert メソッドは、
6 messages
2006/01/19
[#28243] FUNCTION_CALL_MAY_RETURN_TWICE — Hajimu UMEMOTO <ume@...>
梅本です。
18 messages
2006/01/20
[#28247] Re: FUNCTION_CALL_MAY_RETURN_TWICE
— Tanaka Akira <akr@...17n.org>
2006/01/20
In article <ygezmlrqybi.wl%ume@mahoroba.org>,
[#28253] Re: FUNCTION_CALL_MAY_RETURN_TWICE
— Tanaka Akira <akr@...17n.org>
2006/01/21
In article <ygeoe26gnuj.wl%ume@mahoroba.org>,
[#28254] Re: FUNCTION_CALL_MAY_RETURN_TWICE
— Hajimu UMEMOTO <ume@...>
2006/01/21
梅本です。
[#28255] Re: FUNCTION_CALL_MAY_RETURN_TWICE
— Tanaka Akira <akr@...17n.org>
2006/01/21
In article <ygelkxagkse.wl%ume@mahoroba.org>,
[#28261] Re: FUNCTION_CALL_MAY_RETURN_TWICE
— Hajimu UMEMOTO <ume@...>
2006/01/21
梅本です。
[#28270] Re: [PATCH] solaris 10 isinf and ruby_setenv fixes — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
山本です。
17 messages
2006/01/23
[#28271] Re: [PATCH] solaris 10 isinf and ruby_setenv fixes
— "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
2006/01/23
山本です。
[#28272] Re: [PATCH] solaris 10 isinf and ruby_setenv fixes
— WATANABE Hirofumi <eban@...>
2006/01/23
わたなべです。
[#28273] Re: [PATCH] solaris 10 isinf and ruby_setenv fixes
— "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
2006/01/23
山本です。
[#28274] Re: [PATCH] solaris 10 isinf and ruby_setenv fixes
— "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
2006/01/24
山本です。
[#28275] Re: [PATCH] solaris 10 isinf and ruby_setenv fixes
— "U.Nakamura" <usa@...>
2006/01/24
こんにちは、なかむら(う)です。
[#28276] Re: [PATCH] solaris 10 isinf and ruby_setenv fixes
— "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
2006/01/24
山本です。
[#28277] Re: [PATCH] solaris 10 isinf and ruby_setenv fixes
— "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
2006/01/24
山本です。
[#28278] Re: [PATCH] solaris 10 isinf and ruby_setenv fixes
— "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
2006/01/24
山本です。
[#28279] Re: [PATCH] solaris 10 isinf and ruby_setenv fixes
— "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
2006/01/24
山本です。
[#28281] Re: [PATCH] solaris 10 isinf and ruby_setenv fixes
— "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
2006/01/25
[#28282] Re: [PATCH] solaris 10 isinf and ruby_setenv fixes
— Yukihiro Matsumoto <matz@...>
2006/01/25
まつもと ゆきひろです
[#28283] Re: [PATCH] solaris 10 isinf and ruby_setenv fixes
— "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
2006/01/26
山本です。
[#28286] SEGV with zlib — Tanaka Akira <akr@...17n.org>
最近、Data オブジェクトの free 関数が気になっているのですが、
24 messages
2006/01/30
[#28303] Re: SEGV with zlib
— "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
2006/02/06
山本です。
[#28304] Re: SEGV with zlib
— Yukihiro Matsumoto <matz@...>
2006/02/06
まつもと ゆきひろです
[#28305] Re: SEGV with zlib
— "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
2006/02/06
山本です。
[#28306] Re: SEGV with zlib
— "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
2006/02/06
山本です。
[#28307] Re: SEGV with zlib
— Tietew <tietew-ml-ruby-dev@...>
2006/02/06
[#28308] Re: SEGV with zlib
— Yukihiro Matsumoto <matz@...>
2006/02/06
まつもとゆきひろです。
[#28309] Re: SEGV with zlib
— Yukihiro Matsumoto <matz@...>
2006/02/07
まつもと ゆきひろです
[#28310] Re: SEGV with zlib
— "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
2006/02/07
山本です。
[#28312] Re: SEGV with zlib
— Yukihiro Matsumoto <matz@...>
2006/02/07
まつもと ゆきひろです
[#28316] Re: SEGV with zlib
— Tanaka Akira <akr@...17n.org>
2006/02/07
In article <34e00f690602060546l1ef5b22em52589f23240a8e43@mail.gmail.com>,
[#28317] Re: SEGV with zlib
— Yukihiro Matsumoto <matz@...>
2006/02/08
まつもと ゆきひろです
[#28318] Re: SEGV with zlib
— Tanaka Akira <akr@...17n.org>
2006/02/08
In article <1139361872.676364.14519.nullmailer@x31.priv.netlab.jp>,
[ruby-dev:28214] alias で別名付けできないメソッドがある?
From:
KIMURA Koichi <kimura.koichi@...>
Date:
2006-01-10 02:59:12 UTC
List:
ruby-dev #28214
木村です。
Regexp クラスのcompileメソッドを再定義しようとして
class Regexp
alias orig_compile compile
end
とすると、
NameError: undefined method `compile' for class `Regexp'
となります(ruby 1.9.0 2006-01-05 mswin32)。
compile のほかにも escape, union, last_match, quote
が同様のエラーとなります。これらの共通点を調べてみると、
rb_define_singleton_method(rb_cRegexp, "compile", rb_class_new_instance, -1);
rb_define_singleton_method(rb_cRegexp, "quote", rb_reg_s_quote, -1);
rb_define_singleton_method(rb_cRegexp, "escape", rb_reg_s_quote, -1);
rb_define_singleton_method(rb_cRegexp, "union", rb_reg_s_union, -1);
rb_define_singleton_method(rb_cRegexp, "last_match", rb_reg_s_last_match, -1);
のように rb_define_singleton_method で定義されたメソッドなのですが、
他のクラスで同様に定義されているメソッドではエラーにならないものも
あります(Fileクラスの atとか)。
エラーになる/ならないの境界はどこにあるのでしょうか?
また、エラーになるのが正しいとしても、undefined method というのは
適切ではないと思いますがいかがでしょうか。
--
木村浩一