Module magnus::embed

source ·
Available on crate feature embed only.
Expand description

Helpers for use when embedding Ruby in a Rust project.

See also Ruby for more embedding related methods.

Structs§

  • A guard value that will run the cleanup function for the Ruby VM when dropped.

Functions§

  • init
    Initialises the Ruby VM.
  • Sets the current script name.
  • Performs basic initialisation of the Ruby VM.