From: "Bartosz Dziewoński" Date: 2011-10-15T05:12:45+09:00 Subject: Re: What’s the best way of checking if an argument has been given or not? 2011/10/14 Jens Wille : > class A > >  def b(c = d = true)  # or some other truthy value >    if d >      puts 'no argument was given' >    else >      puts c >    end >  end > > end I have to admit that's kinda cool. 2011/10/14 Intransition : > So, is there a downside to this? Unreadability if you don't know what it does? Possibly barfing of code-munging tools? I think that's it. I'd use it ;) -- Matma Rex