class String alias each bytes end def dne dne dne i ctup esle yalpsid 76 nehw01 ctup 66 nehw23 ctup 56 nehw i esac eman ni i rof end fi class AclassAStringBaliasAeachAbytesAendBdefBdneAdneBdneAiActupAesleAyalpsidB76Bnehw01ActupB66Bnehw23ActupB56BnehwBiAesacBemanAniAiArofAendBfiAclassBCBssalcAifBdneAforAiAinAnameBcaseAiBwhenB65BputcA32whenB66BputcA10whenB67BdisplayAelseAputcAiAendBendAendBfedBdneAsetybAhcaeAsailaBgnirtSAssalcA ssalc if dne for i in name case i when 65 putc 32when 66 putc 10when 67 display else putc i end end end fed dne setyb hcae saila gnirtS ssalc
Note that non-ascii characters in the above source code will be escaped (such as \x9f).