Sha256: d35053fb87b88ad03ee6726e38bfe8b7d7ae8e7fa73dcfb7e00d2857997a546d

Contents?: true

Size: 292 Bytes

Versions: 10

Compression:

Stored size: 292 Bytes

Contents

# Taken from http://coffeescript.org/

class Animal
  constructor: (@name) ->

  move: (meters) ->
    alert @name + " moved #{meters}m."

class Snake extends Animal
  move: ->
    alert "Slithering..."
    super 5

class Horse extends Animal
  move: ->
    alert "Galloping..."
    super 45

Version data entries

10 entries across 2 versions & 1 rubygems

Version Path
ctags.rb-1.1.4 ext/vendor/ctags/Units/main-xcmd.r/xcmd-xref.d/input.coffee
ctags.rb-1.1.4 ext/vendor/ctags/Units/conflib-recursive.d/input.cof
ctags.rb-1.1.4 ext/vendor/ctags/Units/conflib-simple.d/input.coffee
ctags.rb-1.1.4 ext/vendor/ctags/Units/main-xcmd.r/xcmd-coffeetags.d/input.coffee
ctags.rb-1.1.4 ext/vendor/ctags/Units/main-xcmd.r/xcmd-etags.d/input.coffee
ctags.rb-1.1.3 ext/vendor/ctags/Units/conflib-recursive.d/input.cof
ctags.rb-1.1.3 ext/vendor/ctags/Units/conflib-simple.d/input.coffee
ctags.rb-1.1.3 ext/vendor/ctags/Units/main-xcmd.r/xcmd-coffeetags.d/input.coffee
ctags.rb-1.1.3 ext/vendor/ctags/Units/main-xcmd.r/xcmd-etags.d/input.coffee
ctags.rb-1.1.3 ext/vendor/ctags/Units/main-xcmd.r/xcmd-xref.d/input.coffee