Function rb_obj_as_string

Source
pub unsafe extern "C" fn rb_obj_as_string(obj: VALUE) -> VALUE
Expand description

Try converting an object to its stringised representation using its to_s method, if any. If there is no such thing, it resorts to rb_any_to_s output.

ยง@param[in] obj Arbitrary ruby object to stringise. @return An instance of ::rb_cString.

Generated by rb-sys for Ruby mri-x86_64-linux-gnu-3.2.3