Ruby ASCII 256 Characters

You may find yourself needing to know certain ruby to ascii character equvalents when you`re building your apps. This simple one liner will list all 256 that you'll most commonly run accross. Just run it on irb.

irb(main):031:0> (0..255).each {|x| p ["#{x}.chr", x.chr]}
[0.chr, \000]
[1.chr, \001]
[2.chr, \002]
[3.chr, \003]
[4.chr, \004]
[5.chr, \005]
[6.chr, \006]
[7.chr, \a]
[8.chr, \010]
[9.chr, \t]
[10.chr, \n]
[11.chr, \v]
[12.chr, \f]
[13.chr, \r]
[14.chr, \016]
[15.chr, \017]
[16.chr, \020]
[17.chr, \021]
[18.chr, \022]
[19.chr, \023]
[20.chr, \024]
[21.chr, \025]
[22.chr, \026]
[23.chr, \027]
[24.chr, \030]
[25.chr, \031]
[26.chr, \032]
[27.chr, \e]
[28.chr, \034]
[29.chr, \035]
[30.chr, \036]
[31.chr, \037]
[32.chr, ]
[33.chr, !]
[34.chr, \]
[35.chr, #]
[36.chr, $]
[37.chr, %]
[38.chr, &]
[39.chr, ']
[40.chr, (]
[41.chr, )]
[42.chr, *]
[43.chr, +]
[44.chr, ,]
[45.chr, -]
[46.chr, .]
[47.chr, /]
[48.chr, 0]
[49.chr, 1]
[50.chr, 2]
[51.chr, 3]
[52.chr, 4]
[53.chr, 5]
[54.chr, 6]
[55.chr, 7]
[56.chr, 8]
[57.chr, 9]
[58.chr, :]
[59.chr, ;]
[60.chr, <]
[61.chr, =]
[62.chr, >]
[63.chr, ?]
[64.chr, @]
[65.chr, A]
[66.chr, B]
[67.chr, C]
[68.chr, D]
[69.chr, E]
[70.chr, F]
[71.chr, G]
[72.chr, H]
[73.chr, I]
[74.chr, J]
[75.chr, K]
[76.chr, L]
[77.chr, M]
[78.chr, N]
[79.chr, O]
[80.chr, P]
[81.chr, Q]
[82.chr, R]
[83.chr, S]
[84.chr, T]
[85.chr, U]
[86.chr, V]
[87.chr, W]
[88.chr, X]
[89.chr, Y]
[90.chr, Z]
[91.chr, []
[92.chr, \\]
[93.chr, ]
]
[94.chr, ^]
[95.chr, _]
[96.chr, `]
[97.chr, a]
[98.chr, b]
[99.chr, c]
[100.chr, d]
[101.chr, e]
[102.chr, f]
[103.chr, g]
[104.chr, h]
[105.chr, i]
[106.chr, j]
[107.chr, k]
[108.chr, l]
[109.chr, m]
[110.chr, n]
[111.chr, o]
[112.chr, p]
[113.chr, q]
[114.chr, r]
[115.chr, s]
[116.chr, t]
[117.chr, u]
[118.chr, v]
[119.chr, w]
[120.chr, x]
[121.chr, y]
[122.chr, z]
[123.chr, {]
[124.chr, |]
[125.chr, }]
[126.chr, ~]
[127.chr, \177]
[128.chr, \200]
[129.chr, \201]
[130.chr, \202]
[131.chr, \203]
[132.chr, \204]
[133.chr, \205]
[134.chr, \206]
[135.chr, \207]
[136.chr, \210]
[137.chr, \211]
[138.chr, \212]
[139.chr, \213]
[140.chr, \214]
[141.chr, \215]
[142.chr, \216]
[143.chr, \217]
[144.chr, \220]
[145.chr, \221]
[146.chr, \222]
[147.chr, \223]
[148.chr, \224]
[149.chr, \225]
[150.chr, \226]
[151.chr, \227]
[152.chr, \230]
[153.chr, \231]
[154.chr, \232]
[155.chr, \233]
[156.chr, \234]
[157.chr, \235]
[158.chr, \236]
[159.chr, \237]
[160.chr, \240]
[161.chr, \241]
[162.chr, \242]
[163.chr, \243]
[164.chr, \244]
[165.chr, \245]
[166.chr, \246]
[167.chr, \247]
[168.chr, \250]
[169.chr, \251]
[170.chr, \252]
[171.chr, \253]
[172.chr, \254]
[173.chr, \255]
[174.chr, \256]
[175.chr, \257]
[176.chr, \260]
[177.chr, \261]
[178.chr, \262]
[179.chr, \263]
[180.chr, \264]
[181.chr, \265]
[182.chr, \266]
[183.chr, \267]
[184.chr, \270]
[185.chr, \271]
[186.chr, \272]
[187.chr, \273]
[188.chr, \274]
[189.chr, \275]
[190.chr, \276]
[191.chr, \277]
[192.chr, \300]
[193.chr, \301]
[194.chr, \302]
[195.chr, \303]
[196.chr, \304]
[197.chr, \305]
[198.chr, \306]
[199.chr, \307]
[200.chr, \310]
[201.chr, \311]
[202.chr, \312]
[203.chr, \313]
[204.chr, \314]
[205.chr, \315]
[206.chr, \316]
[207.chr, \317]
[208.chr, \320]
[209.chr, \321]
[210.chr, \322]
[211.chr, \323]
[212.chr, \324]
[213.chr, \325]
[214.chr, \326]
[215.chr, \327]
[216.chr, \330]
[217.chr, \331]
[218.chr, \332]
[219.chr, \333]
[220.chr, \334]
[221.chr, \335]
[222.chr, \336]
[223.chr, \337]
[224.chr, \340]
[225.chr, \341]
[226.chr, \342]
[227.chr, \343]
[228.chr, \344]
[229.chr, \345]
[230.chr, \346]
[231.chr, \347]
[232.chr, \350]
[233.chr, \351]
[234.chr, \352]
[235.chr, \353]
[236.chr, \354]
[237.chr, \355]
[238.chr, \356]
[239.chr, \357]
[240.chr, \360]
[241.chr, \361]
[242.chr, \362]
[243.chr, \363]
[244.chr, \364]
[245.chr, \365]
[246.chr, \366]
[247.chr, \367]
[248.chr, \370]
[249.chr, \371]
[250.chr, \372]
[251.chr, \373]
[252.chr, \374]
[253.chr, \375]
[254.chr, \376]
[255.chr, \377]