Record and Replay Object Access with Ruby