Project

General

Profile

« Previous | Next » 

Revision bf5b0c49

Added by stomar (Marcus Stollsteimer) about 7 years ago

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?

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e