rf-web/vendor/bundle/gems/rouge-3.12.0/lib/rouge/demos/wollok
2019-10-21 10:18:17 +02:00

12 lines
168 B
Plaintext

object pepita {
var energy = 100
method energy() = energy
method fly(kilometers) {
energy -= kilometers + 10
}
method sayHi() = "Coo!"
}