Skip to content

Instantly share code, notes, and snippets.

@joelmccracken
Created February 28, 2013 20:37
Show Gist options
  • Save joelmccracken/5059907 to your computer and use it in GitHub Desktop.
Save joelmccracken/5059907 to your computer and use it in GitHub Desktop.
bash-3.2$ irb
irb
1.9.3-p327-falcon :001 > def lol(x=exit); puts hi; end
def lol(x=exit); puts hi; end
=> nil
1.9.3-p327-falcon :002 > def lol(x=exit); puts "hi"; end
def lol(x=exit); puts "hi"; end
=> nil
1.9.3-p327-falcon :003 > lol 10
lol 10
hi
=> nil
1.9.3-p327-falcon :004 > lol
lol
bash-3.2$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment