fn correctly_marshalls_rust_strings(ruby: &mut Ruby) {
    let mut player = Player::default();

    ruby.plug("player", &mut player);

    assert_eq!(Value::string(player.name()), ruby.eval("PLAYER.name").unwrap());
}
/// We should be able to return String objects in Rust and use it from Ruby.
We should be able to return String objects in Rust and use it from Ruby.
We should be able to return String objects in Rust and use it from Ruby .
fn correctly_marshalls_rust_strings(ruby: &mut Ruby) {
    let mut player = Player::default();
    ruby.plug("player", &mut player);
    assert_eq!(Value::string(player.name()), ruby.eval("PLAYER.name").unwrap());
}
fn correctly_marshalls_rust_strings ( ruby : & mut Ruby ) { let mut player = Player :: default ( ) ; ruby . plug ( " " , & mut player ) ; assert_eq ! ( Value string ( player name ( ) ) ruby eval ( " " ) unwrap ( ) ) ; }
We should be able to return String objects in Rust and use it from Ruby.
We should be able to return String objects in Rust and use it from Ruby .
ruby
&mut Ruby
ruby
&mut Ruby