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-4.5.1 lib/rouge/demos/wollok
rouge-4.5.0 lib/rouge/demos/wollok
rouge-4.4.0 lib/rouge/demos/wollok
rouge-4.3.0 lib/rouge/demos/wollok
rouge-4.2.1 lib/rouge/demos/wollok
rouge-4.2.0 lib/rouge/demos/wollok
rouge-4.1.3 lib/rouge/demos/wollok
rouge-4.1.2 lib/rouge/demos/wollok
rouge-4.1.1 lib/rouge/demos/wollok
mumukit-content-type-1.12.1 vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/wollok
mumukit-content-type-1.12.0 vendor/bundle/ruby/2.7.0/gems/rouge-3.30.0/lib/rouge/demos/wollok
rouge-4.1.0 lib/rouge/demos/wollok
rouge-4.0.1 lib/rouge/demos/wollok
rouge-4.0.0 lib/rouge/demos/wollok
rouge-3.30.0 lib/rouge/demos/wollok
rouge-3.29.0 lib/rouge/demos/wollok
rouge-3.28.0 lib/rouge/demos/wollok
rouge-3.27.0 lib/rouge/demos/wollok
rouge-3.26.1 lib/rouge/demos/wollok
mumukit-content-type-1.11.1 vendor/bundle/ruby/2.6.0/gems/rouge-3.26.0/lib/rouge/demos/wollok