From: Sean O'Dell Date: 2004-06-08T01:50:50+09:00 Subject: Re: How to ducktype a Hash? On Monday 07 June 2004 07:35, Austin Ziegler wrote: > > Actually, Ruby has both types and classes. Many developers confuse > types and classes because in C++ they are one and the same; in Java > they are slightly different, but not noticeably so (with the > introduction of interfaces). Ruby has no types. All of Ruby's classes are described, and objects instantiated, with an arbitrary set of methods and purpose. There is nothing anywhere in Ruby to reflect on the purpose of a class. Sean O'Dell