[ruby-cvs:66491] nobu:r59312 (trunk): optparse.rb: get rid of eval

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Jul 12 11:49:53 JST 2017


nobu	2017-07-12 11:49:53 +0900 (Wed, 12 Jul 2017)

  New Revision: 59312

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59312

  Log:
    optparse.rb: get rid of eval
    
    * lib/optparse.rb: try Float() and Integer() instead of eval,
      which does too much things.

  Modified files:
    trunk/lib/optparse.rb
    trunk/test/optparse/test_acceptable.rb


More information about the ruby-cvs mailing list