method

source_location

v2_1_10 - Show latest stable - Class: Method
source_location()
public

Returns the Ruby source filename and line number containing this method or nil if this method was not defined in Ruby (i.e. native)