Expand description
A thin, slightly higher level interface to it all.
Turn if off with default-features = false
for this crate in your manifest.
Modules
Get the builtin global/static class/module Value
instances like Kernel
, Object
,
Integer
, etc.
Converting Rust values to Ruby values.
Structs
A binding is basically an execution context. Variables and classes defined inside a binding are only accessible within that binding.
Wraps a Ruby exception Value
and exposes its values usable in Rust.
Wraps a plain old Ruby FFI VALUE
with much more functionality.
Functions
Wrapper over rb_protect
, catches any Ruby exception within the given function.
Evaluate Ruby code in a specific binding.
Evaluates Ruby code in the given binding whilst allowing Ruby unwinding to unsafely propagate to Rust (causes segfaults when it hits Rust layer).