🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.lang.ruby
Article #63

Re: same name methods

#63
From: ttate
Date: Sun, 12 Apr 1998 00:00
18 lines
1157 bytes
立石@JAISTです。

j8197602@ed.noda.sut.ac.jpさん(04月11日20時):
j8197602>>五十嵐@東京理科大学です。
j8197602>>
j8197602>>質問なのですが、同じ名前を持つメソッドを複数定義したい場合、どうすれば
j8197602>>よいのでしょうか?C++やJavaのように、

クラスObjectのメソッドis_a,instance_of?などを使って区別
しています。

----------------------------------------------
Name	Takaaki Tateishi
E-Mail 	ttate@jaist.ac.jp
URL	http://www.pluto.dti.ne.jp/~tateishi/
Org	School of Information Science
	Japan Advanced Institute of Science and Technology (JAIST)
Technical Details
Message-ID: <6gpg4d$esu$1@jaist-news.jaist.ac.jp>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6gnjr9$g82@sutnserv.ed.noda.sut.ac.jp>

Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS
X-Google-Thread: 13488f,d2d8eda29ec38f4c
X-Google-Attributes: gid13488f,public
From: ttate@jaist.ac.jp
Subject: Re: same name methods
Date: 1998/04/12
Message-ID: <6gpg4d$esu$1@jaist-news.jaist.ac.jp>
X-Deja-AN: 343240704
References: <6gnjr9$g82@sutnserv.ed.noda.sut.ac.jp>
Content-Type: text/plain; charset=ISO-2022-JP
Organization: Japan Advanced Institute of Science and Technology, Ishikawa, Japan
Mime-Version: 1.0
Newsgroups: fj.lang.ruby