aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-06 03:45:32 +0000
committermrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-06 03:45:32 +0000
commitec0b0144b3b9213f04b74a52f7830fba768c1716 (patch)
treea92bc72c14c726147befbe8f81cd4a022f224757
parent0f7321eddf0be6107e6563f83bdc9503e46da191 (diff)
downloadruby-ec0b0144b3b9213f04b74a52f7830fba768c1716.tar.gz
* NEWS: add rationalize methods of Complex, Float, Integer, NilClass, and Rational classes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--NEWS18
2 files changed, 23 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index cfed50237e..4202d1d8ae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu May 6 12:41:00 2010 Kenta Murata <mrkn@mrkn.jp>
+
+ * NEWS: add rationalize methods of Complex, Float, Integer, NilClass,
+ and Rational classes.
+
Thu May 6 12:12:26 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* README: update.
diff --git a/NEWS b/NEWS
index b6f4599f4b..167feafcb0 100644
--- a/NEWS
+++ b/NEWS
@@ -26,6 +26,10 @@ with all sufficient information, see the ChangeLog file.
* extended methods:
* Array#{uniq,uniq!,product} can take a block.
+ * Complex
+ * new methods:
+ * Complex#rationalize
+
* Dir
* new method:
* Dir.home
@@ -82,6 +86,8 @@ with all sufficient information, see the ChangeLog file.
* new constants:
* Float::INFINITY
* Float::NAN
+ * new methods:
+ * Float#rationalize
* File
* new methods:
@@ -113,6 +119,10 @@ with all sufficient information, see the ChangeLog file.
* 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 @@ with all sufficient information, see the ChangeLog file.
* New method:
* MatchData#==
+ * NilClass
+ * new methods:
+ * NilClass#rationalize
+
* Object
* extended methods:
* Float() supports hexadecimal floating point format.
@@ -138,6 +152,10 @@ with all sufficient information, see the ChangeLog file.
* Random (new class to generate pseudo-random numbers)
+ * Rational
+ * new methods:
+ * Rational#rationalize
+
* String
* extended methods:
* string[regexp, name] is supported for named capture.