APIdock / Ruby
/
method

source_location

ruby 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).

VALUE
rb_method_location(VALUE method)
{
 return method_def_location(method_def(method));
}

AltStyle によって変換されたページ (->オリジナル) /