pub unsafe extern "C" fn rb_get_path(obj: VALUE) -> VALUEExpand description
Converts an object to a path. It first tries #to_path method if any, then
falls back to #to_str method.
ยง@param[in] obj Arbitrary ruby object.
@exception rb_eArgError obj contains a NUL byte.
@exception rb_eTypeError obj is not path-ish.
@exception rb_eEncCompatError No encoding conversion from obj to path.
@return Converted path object.
Generated by rb-sys for Ruby mri-x86_64-linux-gnu-3.2.3