method

source_location

ruby latest stable - Class: UnboundMethod
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).