SHARE
TWEET

Untitled

a guest Jun 25th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ ruby ruby-serialization-2.rb
  2. #<Order:0x007f923b8a35c0 @order_number="ABC123", @order_date="2016-03-23", @customer=#<Customer:0x007f923b8a3598 @name="John Papas", @address="Independence Day 5th, 11511">, @order_details=[#<OrderItem:0x007f923b8a3548 @id=1, @item="Of Mice And Men", @item_type="Book", @price=10, @currency="Euro">, #<OrderItem:0x007f923b8a3520 @id=2, @item="Les Miserables", @item_type="Book", @price=12, @currency="Euro">, #<OrderItem:0x007f923b8a34f8 @id=3, @item="Game Of Thrones", @item_type="DVD", @price=50, @currency="Euro">, #<OrderItem:0x007f923b8a34d0 @id=4, @item="Samsung Galaxy", @item_type="Mobile Phone", @price=200, @currency="Euro">]>
  3. $
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top