зеркало из https://github.com/github/ruby.git
58 строки
1.1 KiB
Plaintext
58 строки
1.1 KiB
Plaintext
# -*- rd -*-
|
|
= NEWS
|
|
|
|
This document is a list of user visible feature changes made between
|
|
releases except for bug fixes.
|
|
|
|
Note that each entry is kept so brief that no reason behind or
|
|
reference information is supplied with. For a full list of changes
|
|
with all sufficient information, see the ChangeLog file.
|
|
|
|
== Changes since the 1.9.2 release
|
|
=== C API updates
|
|
|
|
* rb_scan_args() is enhanced with support for option hash argument
|
|
extraction.
|
|
|
|
=== Library updates (outstanding ones only)
|
|
|
|
* builtin classes
|
|
|
|
* Kernel
|
|
|
|
* Kernel#respond_to? now returns false for protected methods.
|
|
|
|
* Float
|
|
* new constants:
|
|
* File::NULL
|
|
name of NULL device.
|
|
|
|
* String
|
|
* new methods:
|
|
* String#prepend
|
|
|
|
* Time
|
|
* extended methods:
|
|
* Time#strftime supports %:z and %::z.
|
|
|
|
* io/console
|
|
* new methods:
|
|
* IO#noecho {|io| }
|
|
* IO#echo=
|
|
* IO#echo?
|
|
* IO#raw {|io| }
|
|
* IO#raw!
|
|
* IO#getch
|
|
* IO#winsize
|
|
* IO.console
|
|
|
|
* webrick
|
|
* new method:
|
|
* WEBrick::HTTPRequest#continue for generating '100 continue' response.
|
|
|
|
=== Compatibility issues (excluding feature bug fixes)
|
|
|
|
* Kernel#respond_to?
|
|
|
|
See above.
|