Method: Proc#source_location
- Defined in:
- proc.c
#source_location ⇒ Array, Integer
Returns the Ruby source filename and line number containing this proc or nil if this proc was not defined in Ruby (i.e. native).
1393 1394 1395 1396 1397 |
# File 'proc.c', line 1393 VALUE rb_proc_location(VALUE self) { return iseq_location(rb_proc_get_iseq(self, 0)); } |