End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Thread::Backtrace::Location#absolute_path
absolute_path
vm_backtrace.c
View on GitHub ↗
static VALUE
location_absolute_path_m(VALUE self)
{
return location_realpath(location_ptr(self));
}
Returns the full file path of this frame.
Same as path, except that it will return absolute path even if the frame is in the main script.