Check Method Definition in Ruby

This works for a method defined in a gem too.

m = User.method(:invite!)
m.source_location


all tags