Merge pull request #15430 from reitermarkus/cask-inspect

Simplify `Cask#inspect`.
This commit is contained in:
Markus Reiter 2023-05-16 11:08:01 +02:00 committed by GitHub
commit 53de9f38a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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