artichoke_backend::types

Function ruby_from_mrb_value

Source
pub fn ruby_from_mrb_value(value: mrb_value) -> Ruby
Expand description

Parse a Ruby type classifier from a sys::mrb_value.

This function collapses some mruby types into a Ruby::Unreachable type that force an interaction with the VM to return an error.