Project

General

Profile

« Previous | Next » 

Revision ee2df505

Added by nagachika (Tomoyuki Chikanaga) about 10 years ago

merge revision(s) r42844,r42845: [Backport #8865]

    * lib/optparse.rb:  The Integer acceptable now allows binary and
      hexadecimal numbers per the documentation.  [ruby-trunk - Bug #8865]
      DecimalInteger, OctalInteger, DecimalNumeric now validate their input
      before converting to a number.  [ruby-trunk - Bug #8865]

    * test/optparse/test_acceptable.rb:  Tests for the above, tests for all
      numeric acceptables for existing behavior.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@45050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e