#data, included
7 8 9 10 11
# File 'lib/city_watch/watchmen/disk_usage.rb', line 7 def self.data dat = DF.data sum = dat.select {|d| d[:mounted]=="/"}.first {:partitions => dat, :summary => sum[:capacity] || sum["use%".to_sym]} end