I'm in the habit of writing my method definitions without parentheses around the argument list, like:
def initialize name, id, *args # ... end
TextMate doesn't recognize the arguments, so the jump-to-method and the symbols drop-down can get confusing... and the arguments aren't colored correctly in the editor window. I'm not sure how to fix this, or submit my modifications to the SVN repository. Could someone point me in the right direction?
Thanks, Erwin
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