Sha256: dacd50d023c51f141e2651bee3c2c69f250fef7b4f840846f4504b2b8f3c1ea1
Contents?: true
Size: 199 Bytes
Versions: 10
Compression:
Stored size: 199 Bytes
Contents
describe "String#dup" do it "produces a copy of the original" do str = "a string" str_copy = str.dup str_copy.should == str str_copy.object_id.should_not == str.object_id end end
Version data entries
10 entries across 10 versions & 1 rubygems