Skip to content

Instantly share code, notes, and snippets.

@phiggins
Created December 1, 2014 07:34
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
$ irb
> require 'set'
=> true
> Set.instance_method(:divide)
=> #<UnboundMethod: Set#divide>
> Set.instance_method(:divide).source_location
=> ["/home/pete/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/set.rb", 466]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment