diff options
author | Joao Fernandes <jfernandes@salsify.com> | 2019-12-30 14:07:35 +0000 |
---|---|---|
committer | Aaron Patterson <tenderlove@github.com> | 2019-12-31 18:31:59 +0900 |
commit | 918fe2ed7c6ec12beea3b925501a6782ecccd23d (patch) | |
tree | 5b1e8759d0782f71ac5c5be581a7a8f61f793582 | |
parent | db58b4a48d7a632550d67a5c8bc4ecc37819d6c9 (diff) | |
download | ruby-918fe2ed7c6ec12beea3b925501a6782ecccd23d.tar.gz |
Fix Object#inspect documentation
Starting from ruby 2.7.0, there's no longer a connection between the hexadecimal
number that #inspect shows and the object's ID.
-rw-r--r-- | object.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -748,7 +748,7 @@ inspect_obj(VALUE obj, VALUE str, int recur) * * Returns a string containing a human-readable representation of <i>obj</i>. * The default #inspect shows the object's class name, an encoding of - * the object id, and a list of the instance variables and their + * its memory address, and a list of the instance variables and their * values (by calling #inspect on each of them). User defined classes * should override this method to provide a better representation of * <i>obj</i>. When overriding this method, it should return a string |