Last statement in function not to stdout or something in ruby idk