summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-11-08 06:43:14 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-11-08 06:43:14 +0000
commitdc98adf839d0d68c4c18647a1db2fb3dc9be8cc4 (patch)
tree7f6e3c4b45359409bf57526308837f5dbbc45905 /doc
parentab827130d3f563535abb7404230f5b5e63bf0946 (diff)
* process.c (security): always give warning for insecure PATH.
* dir.c (my_getcwd): do not rely on MAXPATHLEN. * file.c (rb_file_s_readlink): ditto. * file.c (path_check_1): ditto. * eval.c (rb_yield_0): should not call rb_f_block_given_p(). * string.c (rb_str_chomp_bang): should terminate string by NUL. * eval.c (rb_yield_0): better error message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'doc')
-rw-r--r--doc/NEWS33
1 files changed, 33 insertions, 0 deletions
diff --git a/doc/NEWS b/doc/NEWS
index 113e454..0e84050 100644
--- a/doc/NEWS
+++ b/doc/NEWS
@@ -1,3 +1,36 @@
+: String#chomp
+
+ if $/ == '\n', chops off last newlines (any of \n, \r, \r\n).
+
+: IO#puts
+
+ do not treat Array specially.
+
+: Module::new/Class::new
+
+ takes block.
+
+: allocation framework
+
+ any instance of class can be allocated by class.allocate,
+ (except a few classes).
+
+: String#[]
+
+ starting offset can be specified as optional second parameter.
+
+: String/Array methods
+
+ returns an instance of receivers class.
+
+: String::new
+
+ returns "".
+
+: Dir#path
+
+ Added.
+
: Enum#sort_by
Added.