[ruby-cvs:64931] stomar:r57765 (trunk): proc.c: documentation for Proc#{call, yield, []}

stomar at ruby-lang.org stomar at ruby-lang.org
Fri Mar 3 17:45:04 JST 2017


stomar	2017-03-03 17:45:04 +0900 (Fri, 03 Mar 2017)

  New Revision: 57765

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

  Log:
    proc.c: documentation for Proc#{call,yield,[]}
    
    * proc.c: [DOC] fix and improve docs for Proc#{call,yield,[]}:
    
      * change order of Document-method directives as workaround for an
        RDoc rendering problem where the documentation for Proc#call displays
        a "Document-method: []" code block.  [ruby-core:79887] [Bug #13273]
      * add missing call-seq and example for Proc#yield
      * remove pointless cross reference to Proc#yield
      * update description for handling of extra or missing arguments,
        improve examples and add cross reference to #lambda?

  Modified files:
    trunk/proc.c


More information about the ruby-cvs mailing list