ROT13 in Ruby
Ruby’s string lib is pretty cool ok:
"babby".tr("A-Ma-mN-Zn-z","N-Zn-zA-Ma-m")
=> "onool"
Ruby’s string lib is pretty cool ok:
"babby".tr("A-Ma-mN-Zn-z","N-Zn-zA-Ma-m")
=> "onool"
Monday, December 10, 2007
I have a problem, I admit it. I just can’t seem to remain happy with a design for a period longer than say, oh, a week?
Oh well, everything counts - it’s a good way to build up a portfolio.
Wednesday, December 19, 2007
0 Comments