[ruby-cvs:66494] nagachika:r59316 (ruby_2_4): merge revision(s) 59312: [Backport #13739]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Wed Jul 12 23:06:21 JST 2017


nagachika	2017-07-12 23:06:21 +0900 (Wed, 12 Jul 2017)

  New Revision: 59316

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

  Log:
    merge revision(s) 59312: [Backport #13739]
    
    optparse.rb: get rid of eval
    
    * lib/optparse.rb: try Float() and Integer() instead of eval,
      which does too much things.

  Modified directories:
    branches/ruby_2_4/
  Modified files:
    branches/ruby_2_4/lib/optparse.rb
    branches/ruby_2_4/test/optparse/test_acceptable.rb
    branches/ruby_2_4/version.h


More information about the ruby-cvs mailing list