Method: Method#source_location
- Defined in:
- proc.c
permalink #source_location ⇒ Array, Integer
Returns the Ruby source filename and line number containing this method or nil if this method was not defined in Ruby (i.e. native).
2883 2884 2885 2886 2887 |
# File 'proc.c', line 2883 VALUE rb_method_location(VALUE method) { return method_def_location(rb_method_def(method)); } |