[ruby-cvs:49568] nobu:r42404 (trunk): json/add/range.rb: use Range#end

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Aug 6 21:38:54 JST 2013


nobu	2013-08-06 21:38:53 +0900 (Tue, 06 Aug 2013)

  New Revision: 42404

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

  Log:
    json/add/range.rb: use Range#end
    
    * ext/json/lib/json/add/range.rb (Range#as_json): use Range#end
      instead of Range#last which can be affected by Range#exclusive?.
      ref [Bug #8739]

  Modified files:
    trunk/ext/json/lib/json/add/range.rb


More information about the ruby-cvs mailing list