1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* object.c (convert_type): [ruby-core:03845]

* eval.c (rb_funcall_rescue): new function.

* object.c (rb_Array): avoid using rb_respond_to().

* object.c (rb_Integer): ditto.

* eval.c (get_backtrace): no conversion for nil.

* parse.y (reduce_nodes): empty body should return nil.

* lib/cgi/session.rb (CGI::Session::initialize): [ruby-core:03832]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2004-11-29 06:13:52 +00:00
parent c56fa330b2
commit f6348ca0ea
9 changed files with 99 additions and 40 deletions

View file

@ -90,7 +90,10 @@ class String
end
def succ
(str = self.dup).succ! or str
str = self.dup
p [self.object_id, str.object_id]
str.succ! or str
# (str = self.dup).succ! or str
end
private