[ruby-cvs:65401] stomar:r58230 (trunk): rational.c: improve docs

stomar at ruby-lang.org stomar at ruby-lang.org
Sun Apr 2 05:19:59 JST 2017


stomar	2017-04-02 05:19:59 +0900 (Sun, 02 Apr 2017)

  New Revision: 58230

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

  Log:
    rational.c: improve docs
    
    * rational.c: [DOC] improve docs for Rational and related methods
      * improve class documentation for Rational
      * fix call-seq's
      * simplify examples for Rational#{floor,ceil,truncate,round}
      * fix wrong examples for #floor, subtraction, and exponentiation
      * improve docs for #<=>, Kernel#Rational, {String,Float}#to_r,
        Integer.{gcd,lcm,gcdlcm}
      * fix typos, grammar, and rdoc formatting
      * other improvements

  Modified files:
    trunk/rational.c


More information about the ruby-cvs mailing list