A blog about software by Alexander YaƤkov Garber.

Check Method Definition in Ruby

This works for a method defined in a gem too.

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