From: Joe Van Dyk Date: 2006-01-22T04:21:07+09:00 Subject: Re: method proposition On 1/21/06, dblack@wobblini.net wrote: > Hi -- > > On Sun, 22 Jan 2006, Dirk Meijer wrote: > > > hi all, > > what do you think of these methods: > > > > class TrueClass > > def switch > > false > > end > > end > > > > class FalseClass > > def switch > > true > > end > > end > > > > i think i could find some real use for this, though switch! would probably > > be even more useful.. > > You don't like "not"? :-) > > What would switch! do? True would become False. False would become True... Human sacrifice, dogs and cats living together - mass hysteria!