From: "F. Senault" Date: 2009-03-13T22:33:03+09:00 Subject: Re: case when - symbols or strings? Le 13 mars � 13:06, Marc Heiler a �crit : > Or something peculiar like: > case value > when ::Hash > > Which I am not even sure what it does... It checks if the value is a member of the toplevel class Hash or one of it's descendants - the same as 'value.is_a? Hash'. If you are in a module and decide to create a Hash class, in the code of your module, Hash will reference your own class. To access the toplevel (and builtin in this case) Hash, you need to use ::Hash. Fred -- I don't know who you are, But you seem very nice So will you talk to me? Shall I tell you a story, Shall I tell you a dream? They think I'm crazy. (K's Choice, Everything for free)