summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-30 14:43:12 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-30 14:43:12 +0000
commit045c0422acf688ac4702edf85533332c75d14280 (patch)
tree944aab26c0bb7e8bb0c944a8eace93a519a04fb2
parent88e2b05588608f6f6dbc2fafb0a48bec0ceeb423 (diff)
* NEWS: fixed points pointed by akira yamada.
also thanks to okkez. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--NEWS10
1 files changed, 5 insertions, 5 deletions
diff --git a/NEWS b/NEWS
index b98fd7b3dd..20244ab663 100644
--- a/NEWS
+++ b/NEWS
@@ -17,8 +17,6 @@ See doc/NEWS-1.8.7 for changes between 1.8.6 and 1.8.7.
* New syntax and semantics
o Block arguments are always local
o New semantics for block arguments
- o Method used for splat arguments: #to_splat instead of
- #to_ary
o defined? and local variables
o Parser expects that your source code has only valid byte
sequence in some character encoding. Use magic comments
@@ -26,6 +24,9 @@ See doc/NEWS-1.8.7 for changes between 1.8.6 and 1.8.7.
o New semantics for constant definition in instance_eval
or in module_eval.
+ * Deprecated syntax
+ o colon (:) instead of "then" in if/unless or case expression.
+ o retry in a loop or an iterator.
* builtin classes and objects
@@ -33,7 +34,8 @@ See doc/NEWS-1.8.7 for changes between 1.8.6 and 1.8.7.
o Kernel#methods and #singleton_methods used to return an
array of strings but now they return an array of symbols.
* Class and Module
- o Module#attr is an alias of attr_reader
+ o Module#attr works as Module#attr_reader by default.
+ Optional boolean argument is obsolete.
o Module#instance_methods, #private_instance_methods and
#public_instance_methods used to return an array of
strings but now they return an array of symbols.
@@ -75,7 +77,6 @@ See doc/NEWS-1.8.7 for changes between 1.8.6 and 1.8.7.
o Non-blocking IO
o Kernel#open takes "t" for newline conversion
o Kernel#open takes encoding specified
- o IO#initialize now accepts an IO argument
o IO automatically converts byte sequence from a character
encodings into another if specified.
o StringIO#readpartial
@@ -309,7 +310,6 @@ See doc/NEWS-1.8.7 for changes between 1.8.6 and 1.8.7.
o String#match
* Symbol
o Zero-length symbols allowed
- o Symbol#=== matches strings
o Symbol#intern
o Symbol#encoding
o Symbol methods similar to those in String