[TxMt] Ruby Method Definition & Arguments

Erwin Abbott erwin.abbott at gmail.com
Tue Nov 6 11:54:05 UTC 2007


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



More information about the textmate mailing list