如何在Ruby 1.9中获取字符的ASCII值?
我在网上广泛搜索,但没有成功.我试过?x和"x"[0],但他们返回的只是"x".
ruby ascii character
ascii ×1
character ×1
ruby ×1