Simplify Cask#inspect.

This commit is contained in:
Markus Reiter 2023-05-15 10:17:17 +02:00
parent 6c80308290
commit 89292f47b5
No known key found for this signature in database
GPG Key ID: 245293B51702655B

View File

@ -287,6 +287,10 @@ module Cask
@token
end
def inspect
"#<Cask #{token}#{sourcefile_path&.to_s&.prepend(" ")}>"
end
def hash
token.hash
end