Skip to content

Commit ac42da6

Browse files
committed
Refactor inspect method
1 parent 1f3defc commit ac42da6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/indieweb/endpoints/client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def initialize(url)
1919

2020
# @return [String]
2121
def inspect
22-
format(%(#<#{self.class.name}:%#0x url: #{url.inspect}>), object_id)
22+
"#<#{self.class.name}:#{format('%#0x', object_id)} url: #{url.inspect}>"
2323
end
2424

2525
# @return [Hash{Symbol => String, Array, nil}]

0 commit comments

Comments
 (0)