ttp://www.openspc2.org/reibun/Ruby/var/006/index.html
ttp://www.openspc2.org/reibun/Ruby/var/007/index.html

a = [1,2,3,4]
b = a
puts b[2]

と

a = [1,2,3,4]
b = a.dup
puts b[2]

は結果は同じなんですが何が違うのでしょうか?