Skip to content

Instantly share code, notes, and snippets.

@carllerche
Created August 24, 2009 22:07
Show Gist options
  • Save carllerche/174258 to your computer and use it in GitHub Desktop.
Save carllerche/174258 to your computer and use it in GitHub Desktop.
def hello
my_proc = do |a, b|
a + b
end
my_proc[1, 2]
my_proc[2, 4]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment