source_location()
Returns the Ruby source filename and line number containing this method or nil if this method was not defined in Ruby (i.e. native).
VALUE rb_method_location(VALUE method) { return method_def_location(method_def(method)); }