Skip to content

Instantly share code, notes, and snippets.

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
You can’t perform that action at this time.