>>>>> "K" == Khurram  <khabibiuf / hotmail.com> writes:

K> case a
K> when 'hello';printf "Blah....\n"
K> when 'bye' ; printf "Blah....Blah...\n"
K> else; printf "Blah... Blah... Blah...\n"
K> end 

 With this, this is String#=== which is called i.e. ruby call

   "hello".===(a)
   "bye".===(a)

 and not MyClass#===


Guy Decoux