[ruby-cvs:73243] mame:r66143 (trunk): lib/pp.rb (Range#pretty_print): support endless range

mame at ruby-lang.org mame at ruby-lang.org
Mon Dec 3 10:39:45 JST 2018


mame	2018-12-03 10:39:45 +0900 (Mon, 03 Dec 2018)

  New Revision: 66143

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

  Log:
    lib/pp.rb (Range#pretty_print): support endless range
    
    `pp(1..)` should print `"(1..)"` instead of `"(1..nil)"`.

  Modified files:
    trunk/lib/pp.rb


More information about the ruby-cvs mailing list