APIdock / Ruby
/
method

source_location

ruby latest stable - Class: Proc
source_location()
public

Returns the Ruby source filename and line number containing this proc or nil if this proc was not defined in Ruby (i.e. native).

VALUE
rb_proc_location(VALUE self)
{
 return iseq_location(rb_proc_get_iseq(self, 0));
}

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