[TxMt] Ruby Method Definition & Arguments
James Edward Gray II
james at grayproductions.net
Wed Nov 7 03:59:57 UTC 2007
On Nov 6, 2007, at 5:54 AM, Erwin Abbott wrote:
> I'm in the habit of writing my method definitions without parentheses
> around the argument list, like:
>
> def initialize name, id, *args
> # ...
> end
My first response would be to get yourself into a 12 step program and
kick that habit. Gross! ;)
It is legal though, so I've updated the Ruby grammar to support it.
James Edward Gray II
More information about the textmate
mailing list