Sha256: 5fd2881f0da2d0e89efdcdf15cc6107018a490975b0c656ce3258f14c479bc4e

Contents?: true

Size: 166 Bytes

Versions: 2

Compression:

Stored size: 166 Bytes

Contents

class DiskUsage
	
	include Watchman
	
	def self.data
		dat = DF.data
		{:partitions => dat, :summary => dat.select {|d| d[:mounted]=="/"}.first[:capacity]}
	end
	
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
city-watch-0.3.1 lib/city_watch/watchmen/disk_usage.rb
city-watch-0.3.0 lib/city_watch/watchmen/disk_usage.rb