[ruby-cvs:49566] nobu:r42400 (trunk): range.c: consider exclusive

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Aug 6 17:42:51 JST 2013


nobu	2013-08-06 17:42:51 +0900 (Tue, 06 Aug 2013)

  New Revision: 42400

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=42400

  Log:
    range.c: consider exclusive
    
    * range.c (range_last): exclude the last number of the exclusive range
      if the end is Numeric.  [ruby-dev:47587] [Bug #8739]

  Modified files:
    trunk/ChangeLog
    trunk/range.c
    trunk/test/ruby/test_range.rb


More information about the ruby-cvs mailing list