src.unpack('C*').collect{|b| if 97 <= b && b <= 120 then b+2 elsif b==121 then 97 elsif b==122 then 98 else b end}.pack('C*')

=> "i hope you didnt translate it by hand. thats what computers are for. doing it in by hand is inefficient and that's why this text is so long. using string.maketrans() is recommended. now apply on the url.\n"

普通は、unpack,packじゃなくてsplit,joinだろうな・・・