lib/honeybadger/util/stats.rb in honeybadger-3.1.2 vs lib/honeybadger/util/stats.rb in honeybadger-3.2.0.beta1
- old
+ new
@@ -1,9 +1,9 @@
module Honeybadger
module Util
class Stats
- HAS_MEM = File.exists?("/proc/meminfo")
- HAS_LOAD = File.exists?("/proc/loadavg")
+ HAS_MEM = File.exist?("/proc/meminfo")
+ HAS_LOAD = File.exist?("/proc/loadavg")
class << self
def all
{ :mem => memory, :load => load }
end