|
=== again: msg#01184lang.ruby.general
I'm pretty sure I said something stupid last night. Just to clarify: If I make a test like x.is_a? y I am checking whether the instance x is-a y. That instance may sometimes be a class, since a class is an object. But to say Array.is_a? Enumerable # false is very different from saying [1,2,3].is_a? Enumerable # true Have I redeemed myself a little? :) Hal
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Perl calling C calling Ruby (linking problem), ts |
|---|---|
| Next by Date: | ruby-mode / inferior ruby, Bjørn Nordbø |
| Previous by Thread: | Virus Alert, security |
| Next by Thread: | ruby-mode / inferior ruby, Bjørn Nordbø |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |