[TxMt] Problem with insert open/close

Allan Odgaard throw-away-1 at macromates.com
Sat Oct 14 08:49:58 UTC 2006


On 14. Oct 2006, at 08:39, marios wrote:

> Can any Ruby Guru tell me, what is wrong with this code.
> http://pastie.caboo.se/17615

A when-line is either:   when foo then bar
or (the shorter)         when foo: bar
In your version you do:  when foo: then bar

So remove ‘then’ from the when-lines which has it.




More information about the textmate mailing list