Skip to content

Instantly share code, notes, and snippets.

@adriand
Created October 12, 2011 20:43
Show Gist options
  • Select an option

  • Save adriand/1282482 to your computer and use it in GitHub Desktop.

Select an option

Save adriand/1282482 to your computer and use it in GitHub Desktop.
CS class properties
class Lead
state = "in-progress"
end
# OR
class Lead
constructor: ->
super
@state = "in-progress"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment