Skip to content

Instantly share code, notes, and snippets.

@henrikh
Created March 1, 2011 20:04
Show Gist options
  • Save henrikh/849778 to your computer and use it in GitHub Desktop.
Save henrikh/849778 to your computer and use it in GitHub Desktop.
def add
+ #1 #2
end
set a 5
puts add 2 5 // prints: 7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment