Simplify Cask#inspect.
This commit is contained in:
parent
6c80308290
commit
89292f47b5
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user