Function lci::capture [] [src]

pub fn capture<R, F>(code: &str, stdin: R, callback: F) -> Result<String, Error> where
    R: BufRead,
    F: FnOnce(&mut EvalParams<R, &mut Vec<u8>>), 

Convenience function for capturing the output of eval