Sha256: c9ed23830cc24cf2af83c7bad51bc699d453ee85e7f59b98cdd4c330c6fce76c

Contents?: true

Size: 168 Bytes

Versions: 63

Compression:

Stored size: 168 Bytes

Contents

object pepita {
    var energy = 100

    method energy() = energy

    method fly(kilometers) {
        energy -= kilometers + 10
    }

    method sayHi() = "Coo!"
}

Version data entries

63 entries across 63 versions & 8 rubygems

Version Path
rouge-3.8.0 lib/rouge/demos/wollok
rouge-3.7.0 lib/rouge/demos/wollok
rouge-3.6.0 lib/rouge/demos/wollok
rouge-3.5.1 lib/rouge/demos/wollok
rouge-3.5.0 lib/rouge/demos/wollok
rouge-3.4.1 lib/rouge/demos/wollok
rouge-3.4.0 lib/rouge/demos/wollok
rouge-alda-3.3.0 lib/rouge/demos/wollok
rouge-3.3.0 lib/rouge/demos/wollok
rouge-3.2.1 lib/rouge/demos/wollok
rouge-3.2.0 lib/rouge/demos/wollok
rouge-lines-3.2.3 lib/rouge-lines/demos/wollok
rouge_ecl-1.0.0 lib/rouge/demos/wollok
rouge_ecl-0.0.1 lib/rouge/demos/wollok
rouge-3.1.1 lib/rouge/demos/wollok
rouge-3.1.0 lib/rouge/demos/wollok
rouge-3.0.0 lib/rouge/demos/wollok
rouge-2.2.1 lib/rouge/demos/wollok
rouge-2.2.0 lib/rouge/demos/wollok
rougegal-2.1.2 lib/rouge/demos/wollok