Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
class method
Psych.libfyaml_version
Psych.libfyaml_version
ext/psych/psych.c
View on GitHub ↗
static VALUE libfyaml_version(VALUE module)
{
const char *v = fy_library_version();
return v ? rb_usascii_str_new2(v) : Qnil;
}
Returns the libfyaml version string. This method is only defined when psych was built with the experimental libfyaml backend (--enable-libfyaml).