Sha256: 4b2bc640d08d360feaf165f07732d644b75b84bc4b290228aa8cdf5cec18609f

Contents?: true

Size: 200 Bytes

Versions: 14

Compression:

Stored size: 200 Bytes

Contents

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

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
city-watch-0.5.2 lib/city_watch/watchmen/disk_usage.rb
city-watch-0.5.1 lib/city_watch/watchmen/disk_usage.rb
city-watch-0.5.0 lib/city_watch/watchmen/disk_usage.rb
city-watch-0.4.9 lib/city_watch/watchmen/disk_usage.rb
city-watch-0.4.7 lib/city_watch/watchmen/disk_usage.rb
city-watch-0.4.6 lib/city_watch/watchmen/disk_usage.rb
city-watch-0.4.5 lib/city_watch/watchmen/disk_usage.rb
city-watch-0.4.4 lib/city_watch/watchmen/disk_usage.rb
city-watch-0.4.3 lib/city_watch/watchmen/disk_usage.rb
city-watch-0.4.2 lib/city_watch/watchmen/disk_usage.rb
city-watch-0.4.1 lib/city_watch/watchmen/disk_usage.rb
city-watch-0.4.0 lib/city_watch/watchmen/disk_usage.rb
city-watch-0.3.3 lib/city_watch/watchmen/disk_usage.rb
city-watch-0.3.2 lib/city_watch/watchmen/disk_usage.rb