mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* object.c (rb_obj_id_obsolete): s/will be deprecated/is deprecated/.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
dc18559c7f
commit
af2bf6f133
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Wed Dec 17 18:40:11 2008 Akinori MUSHA <knu@iDaemons.org>
|
||||
|
||||
* object.c (rb_obj_id_obsolete): s/will be deprecated/is deprecated/.
|
||||
|
||||
Wed Dec 17 18:38:09 2008 Akinori MUSHA <knu@iDaemons.org>
|
||||
|
||||
* object.c (sym_to_i, sym_to_int): Add a deprecation warning to
|
||||
|
|
2
object.c
2
object.c
|
@ -109,7 +109,7 @@ VALUE
|
|||
rb_obj_id_obsolete(obj)
|
||||
VALUE obj;
|
||||
{
|
||||
rb_warn("Object#id will be deprecated; use Object#object_id");
|
||||
rb_warn("Object#id is deprecated; use Object#object_id");
|
||||
return rb_obj_id(obj);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue