Person = (name) -> @name = name return Person::say = -> console.log 'Hello' + @name return dima = new Person('dima') dima.say()