From: Ivan Samsonov Date: 2010-01-06T15:13:25+09:00 Subject: [ruby-core:27441] [Bug #2562] String#hex strange behavior Bug #2562: String#hex strange behavior http://redmine.ruby-lang.org/issues/show/2562 Author: Ivan Samsonov Status: Open, Priority: Normal Category: core, Target version: 1.9.1 ruby -v: ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin10] '_a'.hex: 1.8.6, 1.8,7 rubinius 1.0 rc2 gives 10 1.9.1p243, 1.9.1p376, macuby gives 0. Also, there is no such test in rubyspec. ---------------------------------------- http://redmine.ruby-lang.org