[#3249] ruby for mswin32 — KIMURA Koichi <kkimura@...>
[#3257] mini-reference (syntax) — matz@... (Yukihiro Matsumoto)
まつもと ゆきひろです
前田です。
[#3305] Observable#notify_observers — shugo@... (maeda shugo)
前田です。
[#3312] multi-line comment — shugo@... (maeda shugo)
前田です。
[#3329] meta programming features — matz@... (Yukihiro Matsumoto)
まつもと ゆきひろです
けいじゅ@今はフリー(^^;;;です.
まつもと ゆきひろ%最終出社日です
けいじゅ@今はフリー(^^;;;です.
まつもと ゆきひろです
けいじゅ@今はフリー(^^;;;です.
まつもと ゆきひろです
けいじゅ@今はフリー(^^;;;です.
まつもと ゆきひろです
けいじゅ@今はフリー(^^;;;です.
まつもと ゆきひろです
けいじゅ@今はフリー(^^;;;です.
まつもと ゆきひろです
けいじゅ@今はフリー(^^;;;です.
まつもと ゆきひろです
けいじゅ@今はフリー(^^;;;です.
まつもと ゆきひろです
けいじゅ@今はフリー(^^;;;です.
まつもと ゆきひろです
けいじゅ@今はフリー(^^;;;です.
まつもと ゆきひろです
けいじゅ@今はフリー(^^;;;です.
[#3350] [Q] eql? and == — keiju@... (Keiju ISHITSUKA)
けいじゅ@今はフリー(^^;;です.
[#3375] Exception — keiju@... (Keiju ISHITSUKA)
けいじゅ@今はフリー(^^;;です.
まつもと ゆきひろです
けいじゅ@今はフリー(^^;;;です.
まつもと ゆきひろです
けいじゅ@今はフリー(^^;;;です.
まつもと ゆきひろです
[#3378] ML分割 — takagi@... (TAKAGI Hiromitsu)
ところで、話は変わって、ひとつ提案です。
[#3403] sorry for ruby-list trouble — matz@... (Yukihiro Matsumoto)
まつもと ゆきひろです
けいじゅ@今はフリー(^^;;;です.
まつもと ゆきひろです
けいじゅ@今はフリー(^^;;;です.
まつもと ゆきひろです
けいじゅ@今はフリー(^^;;;です.
[#3411] no cbreak in curses module — Shoichi OZAWA <ozawa@...>
こんにちは 小澤@日立 です。
[#3417] [Bug] String#sub — shugo@... (maeda shugo)
前田です。
[#3429] [Req] println — shugo@... (maeda shugo)
前田です。
[#3434] [Q] Thread — keiju@... (Keiju ISHITSUKA)
けいじゅ@今はフリー(^^;;です.
まつもと ゆきひろです
けいじゅ@今はフリー(^^;;;です.
まつもと ゆきひろです
けいじゅ@今はフリー(^^;;;です.
まつもと ゆきひろです
前田です。
前田です。
前田です。
<199707301029.TAA25172@hoyogw.netlab.co.jp> の、
けいじゅ@今はフリー(^^;;;です.
<199707311103.UAA08460@hoyogw.netlab.co.jp> の、
けいじゅ@今はフリー(^^;;;です.
[#3470] [Problem] for local class — keiju@... (Keiju ISHITSUKA)
けいじゅ@今はフリー(^^;;です.
[#3502] Re: .to_f result — 渡辺博文 <VYV01212@...>
わたなべです.
[ruby-list:3355] Re: [Q] eql? and ==
まつもと ゆきひろです
In message "[ruby-list:3350] [Q] eql? and =="
on 97/07/15, Keiju ISHITSUKA <keiju@bc.mbn.or.jp> writes:
|けいじゅ@今はフリー(^^;;です.
|
|昔の話しですいませんが, eql? と == の関係を確認したいのです.
|以前のメイルを遡ると(ドキュメント)も,
|
|[B]
|def eql?(other)
| self.equal?(other)
|end
|
|にするという記述があるようなのですが??
あいや,まったく.直しておきます.とりあえず以下のパッチが有
効でしょう.superclassのバグも直ります.
--- object.c~ Fri Jun 20 01:24:13 1997
+++ object.c Wed Jul 16 07:55:57 1997
@@ -401,6 +486,13 @@
- while (TYPE(super) == T_ICLASS)
+ while (TYPE(super) == T_ICLASS) {
super = super->super;
-
+ }
+ if (!super) {
+ return Qnil;
+ }
+#ifdef RUBY_1_1
+ return (VALUE)super;
+#else
return rb_class_path(super);
+#endif
}
@@ -618,3 +710,3 @@
- rb_define_method(mKernel, "eql?", rb_equal, 1);
+ rb_define_method(mKernel, "eql?", obj_equal, 1);
@@ -664,6 +759,8 @@
rb_define_private_method(cModule, "private_attr", mod_private_attr, -1);
+ rb_define_singleton_method(cModule, "new", mod_s_new, 1);
rb_define_method(cClass, "new", class_s_new, -1);
rb_define_method(cClass, "superclass", class_superclass, -1);
rb_undef_method(cClass, "extend_object");
+ rb_define_singleton_method(cClass, "new", class_s_new, -1);