diff options
author | Robert Gleeson <rob@flowof.info> | 2014-03-16 05:44:09 +0100 |
---|---|---|
committer | Robert Gleeson <rob@flowof.info> | 2014-03-16 05:44:09 +0100 |
commit | 68b83e7b6c1d648d838b458e0a089c852bad331f (patch) | |
tree | bdf02ed950463394942ddf47f2d4ebc64984c112 /lib/pry/pry_class.rb | |
parent | 027429543242013f67bb143bbf62f7c87d47219f (diff) | |
download | pry-68b83e7b6c1d648d838b458e0a089c852bad331f.tar.gz |
forgot hex prefix
Diffstat (limited to 'lib/pry/pry_class.rb')
-rw-r--r-- | lib/pry/pry_class.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pry/pry_class.rb b/lib/pry/pry_class.rb index d38a7210..2fd2fac5 100644 --- a/lib/pry/pry_class.rb +++ b/lib/pry/pry_class.rb @@ -174,7 +174,7 @@ class Pry elsif Pry.config.prompt_safe_objects.any? { |v| v === obj } && obj.inspect.length <= max_length obj.inspect else - "#<#{obj.class}>:%x>" % (obj.object_id << 1) + "#<#{obj.class}:0x%x>" % (obj.object_id << 1) end rescue RescuableException |