From: David Masover Date: 2011-06-25T15:25:41+09:00 Subject: Re: Symbol#=== On Saturday, June 25, 2011 12:57:51 AM Intransition wrote: > As: > > class Symbol > def ===(object) > object.respond_to?(self) > end > end > > Then: > > case foo > when :some_method > foo.some_method > end > > Insanity? Maybe. It makes things somewhat ambiguous if I wanted to only compare a Symbol with that case statement. ...I think? I tend to use if statements more often anyway.