freeze « String « Ruby






1.Make a string immutable with Object's freeze method
2.Freeze a string
3.is the object frozen?
4.can't modify frozen string
5.rescue a Attempting-to-modify exception