Skip to content

Instantly share code, notes, and snippets.

@greggroth
Created November 10, 2012 20:47
Show Gist options
  • Save greggroth/4052434 to your computer and use it in GitHub Desktop.
Save greggroth/4052434 to your computer and use it in GitHub Desktop.
pry(main)> def foo
pry(main)* puts "Welcome to the foo!!"
pry(main)* end
=> nil
pry(main)> show-method foo
From: (pry) @ line 3:
Number of lines: 3
Owner: Object
Visibility: private
def foo
puts "Welcome to the foo!!"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment