Thursday, 9 October 2014

String in Ruby

1. Strings are mutable.
2. freeze method is used to prevent any future modifications to object
3. String Interpolation - variables substituted into string. #{}

No comments:

Post a Comment