Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Pathname#to_s
() -> ::String
pathname.to_s → string
ext/pathname/pathname.c
View on GitHub ↗
static VALUE
path_to_s(VALUE self)
{
return rb_obj_dup(get_strpath(self));
}