Project

General

Profile

« Previous | Next » 

Revision ee155140

Added by drbrain (Eric Hodel) over 10 years ago

  • 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/trunk@42844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e