From: Ryan Davis Date: 2012-08-14T10:17:13+09:00 Subject: Re: Idea: def ... end returns the symbolized version of the newly-defined method, instead of nil On Aug 13, 2012, at 12:59 , Peter wrote: > This would allow useful syntax constructs such as this: > > protected def protected_method > ... > end > > and > > private def private_method > ... > end Personally, I've never found protected/private to be useful. Do note that your proposed "syntax" above is mostly achieved with 2 chars added: protected; def protected_method ... end and private; def private_method ... end and so I really don't see the point. Esp if you've ever gotten used to reading idiomatic java, then the newline looks fine: protected def protected_method ... end and private def private_method ... end