[ruby-cvs:67887] stomar:r60713 (trunk): hash.c: improve docs for Hash#slice

stomar at ruby-lang.org stomar at ruby-lang.org
Wed Nov 8 05:17:04 JST 2017


stomar	2017-11-08 05:17:04 +0900 (Wed, 08 Nov 2017)

  New Revision: 60713

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

  Log:
    hash.c: improve docs for Hash#slice
    
    * hash.c: [DOC] clarify description for Hash#slice and remove
      a sentence that might suggest that the receiver is modified;
      improve example to also include a case where a hash with
      several elements is returned.

  Modified files:
    trunk/hash.c


More information about the ruby-cvs mailing list