R
Robert Pankowecki
ruby-1.9.2-head > ary.object_id
=> 87171620
ruby-1.9.2-head > default = [*ary]
ruby-1.9.2-head > default.object_id
=> 87171620
Is that a bug or a feature ? I would expect such construction to create
a new array.
Robert Pankowecki
=> 87171620
ruby-1.9.2-head > default = [*ary]
ruby-1.9.2-head > default.object_id
=> 87171620
Is that a bug or a feature ? I would expect such construction to create
a new array.
Robert Pankowecki