s = Marshal.dump($game_temp)s1 = Marshal.load(s)p s1 # => 恰好是 $game_temp 的内容
s = Marshal.dump($game_temp) s1 = Marshal.load(s) p s1 # => 恰好是 $game_temp 的内容
Marshal.dump(obj [, port][, limit])