name = "immutable".freeze # dup gives back an unfrozen copy copy = name.dup copy << "!" puts copy puts name.frozen?
dup returns a writable copy