Skip to content

Instantly share code, notes, and snippets.

@mikehale
Created December 22, 2008 18:51
Show Gist options
  • Save mikehale/39080 to your computer and use it in GitHub Desktop.
Save mikehale/39080 to your computer and use it in GitHub Desktop.
def foo
puts 'You called foo!';
end
method = self.method(:foo)
#These do the same thing
method.call
foo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment