[ruby-cvs:66736] ko1:r59558 (trunk): Fiber#to_s (#inspect) return richer information.

ko1 at ruby-lang.org ko1 at ruby-lang.org
Thu Aug 10 11:58:37 JST 2017


ko1	2017-08-10 11:58:36 +0900 (Thu, 10 Aug 2017)

  New Revision: 59558

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

  Log:
    Fiber#to_s (#inspect) return richer information.
    
    * cont.c (fiber_to_s): return with block and status information.
    
    * proc.c (proc_to_s_): removed and introduce rb_block_to_s() function
      to return block information string.

  Modified files:
    trunk/cont.c
    trunk/internal.h
    trunk/proc.c
    trunk/test/ruby/test_fiber.rb


More information about the ruby-cvs mailing list