mirror of
https://github.com/donl/homebrew-cask-versions.git
synced 2026-07-17 06:16:47 -06:00
11 lines
225 B
Ruby
11 lines
225 B
Ruby
class Cask::PrettyListing
|
|
attr_reader :cask
|
|
def initialize(cask)
|
|
@cask = cask
|
|
end
|
|
|
|
def print
|
|
files = cask.staged_path.find.reject(&:directory?)
|
|
puts "#{cask.staged_path} (#{files.length} files)"
|
|
end
|
|
end
|