Skip to content

Instantly share code, notes, and snippets.

@wallace
Last active December 26, 2015 05:59
Show Gist options
  • Save wallace/7105148 to your computer and use it in GitHub Desktop.
Save wallace/7105148 to your computer and use it in GitHub Desktop.
simple:~ jonathanwallace$ irb
[1] pry(main)> hello = nil
=> nil
[2] pry(main)> def hello
[2] pry(main)* puts 'ehloo'
[2] pry(main)* end
=> nil
[3] pry(main)> hello
=> nil
[4] pry(main)> hello()
ehloo
=> nil
[5] pry(main)>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment