jashkenas/coffee-script — Issue #2134: Is it possible to use @@ in the class declaration to refer the static properties and methods?
Author: chentianwen
Created: 2012-02-23 21:43:46+00:00
State: open

For example:

class A
@message: 'hello world'
echo: ->
alert "#{@@message}, buddy"