Skip to content

Instantly share code, notes, and snippets.

@vinibaggio
Created February 3, 2012 01:34
Show Gist options
  • Save vinibaggio/1727086 to your computer and use it in GitHub Desktop.
Save vinibaggio/1727086 to your computer and use it in GitHub Desktop.
blocos malucos
bloco = -> {
vai_danada = 1
retorno = -> {
vai_danada += 1
}
vai_danada = 5
retorno
}.()
defined? vai_danada
bloco.()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment