Skip to content

Instantly share code, notes, and snippets.

@ngpestelos
Created September 19, 2013 09:42
Show Gist options
  • Save ngpestelos/6621254 to your computer and use it in GitHub Desktop.
Save ngpestelos/6621254 to your computer and use it in GitHub Desktop.
assign a block
x = Proc.new { "hello" }
puts x.call
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment