Skip to content

Instantly share code, notes, and snippets.

@phiggins
Created December 1, 2014 07:34
Show Gist options
  • Save phiggins/a73fcb0173a598928876 to your computer and use it in GitHub Desktop.
Save phiggins/a73fcb0173a598928876 to your computer and use it in GitHub Desktop.
$ 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