rf-web/vendor/bundle/gems/rouge-3.12.0/lib/rouge/demos/wollok

12 lines
168 B
Plaintext
Raw Normal View History

2019-10-21 08:18:17 +00:00
object pepita {
var energy = 100
method energy() = energy
method fly(kilometers) {
energy -= kilometers + 10
}
method sayHi() = "Coo!"
}