mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
0f7321eddf
commit
ec0b0144b3
2 changed files with 23 additions and 0 deletions
|
@ -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>
|
Thu May 6 12:12:26 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* README: update.
|
* README: update.
|
||||||
|
|
18
NEWS
18
NEWS
|
@ -26,6 +26,10 @@ with all sufficient information, see the ChangeLog file.
|
||||||
* extended methods:
|
* extended methods:
|
||||||
* Array#{uniq,uniq!,product} can take a block.
|
* Array#{uniq,uniq!,product} can take a block.
|
||||||
|
|
||||||
|
* Complex
|
||||||
|
* new methods:
|
||||||
|
* Complex#rationalize
|
||||||
|
|
||||||
* Dir
|
* Dir
|
||||||
* new method:
|
* new method:
|
||||||
* Dir.home
|
* Dir.home
|
||||||
|
@ -82,6 +86,8 @@ with all sufficient information, see the ChangeLog file.
|
||||||
* new constants:
|
* new constants:
|
||||||
* Float::INFINITY
|
* Float::INFINITY
|
||||||
* Float::NAN
|
* Float::NAN
|
||||||
|
* new methods:
|
||||||
|
* Float#rationalize
|
||||||
|
|
||||||
* File
|
* File
|
||||||
* new methods:
|
* new methods:
|
||||||
|
@ -113,6 +119,10 @@ with all sufficient information, see the ChangeLog file.
|
||||||
* IO::WaitWritable
|
* IO::WaitWritable
|
||||||
They are used to extend non-blocking exceptions.
|
They are used to extend non-blocking exceptions.
|
||||||
|
|
||||||
|
* Integer
|
||||||
|
* new methods:
|
||||||
|
* Integer#rationalize
|
||||||
|
|
||||||
* Kernel
|
* Kernel
|
||||||
* new method:
|
* new method:
|
||||||
* Kernel#respond_to_missing?
|
* Kernel#respond_to_missing?
|
||||||
|
@ -122,6 +132,10 @@ with all sufficient information, see the ChangeLog file.
|
||||||
* New method:
|
* New method:
|
||||||
* MatchData#==
|
* MatchData#==
|
||||||
|
|
||||||
|
* NilClass
|
||||||
|
* new methods:
|
||||||
|
* NilClass#rationalize
|
||||||
|
|
||||||
* Object
|
* Object
|
||||||
* extended methods:
|
* extended methods:
|
||||||
* Float() supports hexadecimal floating point format.
|
* 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)
|
* Random (new class to generate pseudo-random numbers)
|
||||||
|
|
||||||
|
* Rational
|
||||||
|
* new methods:
|
||||||
|
* Rational#rationalize
|
||||||
|
|
||||||
* String
|
* String
|
||||||
* extended methods:
|
* extended methods:
|
||||||
* string[regexp, name] is supported for named capture.
|
* string[regexp, name] is supported for named capture.
|
||||||
|
|
Loading…
Add table
Reference in a new issue