Hi,

On Thu, May 16, 2002 at 07:41:04AM +0900, Yukihiro Matsumoto wrote:
> |irb(main):003:0> "0x123".oct
> |291
> String#oct understands base prefix (i.e. 0x, 0b, 0).  It's intended
> behavior inherited from Perl.

	Thanks nobu, matz for explanation.

		Michal
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Michal Rokos                         Czech Technical University, Prague
E-mail:m.rokos / sh.cvut.cz  ICQ:36118339  Jabber:majkl / jabber.sh.cvut.cz
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-