1 2 3 4 5 6 7 8 9 10 11
use log::trace; use crate::eval::MrbEval; use crate::Mrb; use crate::MrbError; pub fn patch(interp: &Mrb) -> Result<(), MrbError> { interp.eval(include_str!("env.rb"))?; trace!("Patched ENV onto interpreter"); Ok(()) }
1 2 3 4 5 6 7 8 9 10 11
use log::trace; use crate::eval::MrbEval; use crate::Mrb; use crate::MrbError; pub fn patch(interp: &Mrb) -> Result<(), MrbError> { interp.eval(include_str!("env.rb"))?; trace!("Patched ENV onto interpreter"); Ok(()) }