s = ".sdrawkcab si gnirts sihT"puts s.reverse puts ss.reverse! # => "This string is backwards."puts s # => "This string is backwards."