mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* object.c (nil_to_s): returns the empty string again.
[ruby-dev:29520] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
aa4f653fb9
commit
b06a278942
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
Thu Sep 7 21:02:56 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* object.c (nil_to_s): returns the empty string again.
|
||||
[ruby-dev:29520]
|
||||
|
||||
Thu Sep 7 23:27:05 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* file.c (path_check_0, fpath_check): disable path check on cygwin.
|
||||
|
|
6
object.c
6
object.c
|
@ -675,15 +675,15 @@ nil_to_f(VALUE obj)
|
|||
|
||||
/*
|
||||
* call-seq:
|
||||
* nil.to_s => "nil"
|
||||
* nil.to_s => ""
|
||||
*
|
||||
* Always returns the string "nil".
|
||||
* Always returns the empty string.
|
||||
*/
|
||||
|
||||
static VALUE
|
||||
nil_to_s(VALUE obj)
|
||||
{
|
||||
return rb_str_new2("nil");
|
||||
return rb_str_new2("");
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue