[前][次][番号順一覧][スレッド一覧]

ruby-changes:15715

From: mrkn <ko1@a...>
Date: Thu, 6 May 2010 12:45:50 +0900 (JST)
Subject: [ruby-changes:15715] Ruby:r27637 (trunk): * NEWS: add rationalize methods of Complex, Float, Integer, NilClass, and Rational classes.

mrkn	2010-05-06 12:45:32 +0900 (Thu, 06 May 2010)

  New Revision: 27637

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=27637

  Log:
    * NEWS: add rationalize methods of Complex, Float, Integer, NilClass, and Rational classes.

  Modified files:
    trunk/ChangeLog
    trunk/NEWS

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 27636)
+++ ChangeLog	(revision 27637)
@@ -1,3 +1,8 @@
+Thu May  6 12:41:00 2010  Kenta Murata  <mrkn@m...>
+
+	* NEWS: add rationalize methods of Complex, Float, Integer, NilClass,
+	  and Rational classes.
+
 Thu May  6 12:12:26 2010  Nobuyoshi Nakada  <nobu@r...>
 
 	* README: update.
Index: NEWS
===================================================================
--- NEWS	(revision 27636)
+++ NEWS	(revision 27637)
@@ -26,6 +26,10 @@
     * extended methods:
       * Array#{uniq,uniq!,product} can take a block.
 
+  * Complex
+    * new methods:
+      * Complex#rationalize
+
   * Dir
     * new method:
       * Dir.home
@@ -82,6 +86,8 @@
     * new constants:
       * Float::INFINITY
       * Float::NAN
+    * new methods:
+      * Float#rationalize
 
   * File
     * new methods:
@@ -113,6 +119,10 @@
       * IO::WaitWritable
         They are used to extend non-blocking exceptions.
 
+  * Integer
+    * new methods:
+      * Integer#rationalize
+
   * Kernel
     * new method:
       * Kernel#respond_to_missing?
@@ -122,6 +132,10 @@
     * New method:
       * MatchData#==
 
+  * NilClass
+    * new methods:
+      * NilClass#rationalize
+
   * Object
     * extended methods:
       * Float() supports hexadecimal floating point format.
@@ -138,6 +152,10 @@
 
   * Random (new class to generate pseudo-random numbers)
 
+  * Rational
+    * new methods:
+      * Rational#rationalize
+
   * String
     * extended methods:
       * string[regexp, name] is supported for named capture.

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]