Skip to content

Instantly share code, notes, and snippets.

@terotil
Forked from esamattis/default.coffee
Created May 14, 2012 11:38
Show Gist options
  • Save terotil/2693508 to your computer and use it in GitHub Desktop.
Save terotil/2693508 to your computer and use it in GitHub Desktop.
@value or= do ->
1 + 2
@value ||= begin
1 + 2
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment