Skip to content

Instantly share code, notes, and snippets.

@arbarlow
Created October 11, 2011 19:53
Show Gist options
  • Select an option

  • Save arbarlow/1279205 to your computer and use it in GitHub Desktop.

Select an option

Save arbarlow/1279205 to your computer and use it in GitHub Desktop.
class Animal
constructor: (@name, @age) ->
before_filters: []
# coffee app.coffee
require './animal'
class Monkey extends Animal
index: (request, responce) ->
return 'hi'
monkey = new Monkey('David', 21)
console.log monkey.before_filters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment