forgot hex prefix

This commit is contained in:
Robert Gleeson 2014-03-16 05:44:09 +01:00
parent 0274295432
commit 68b83e7b6c
1 changed files with 1 additions and 1 deletions

View File

@ -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