class Hash
Public Instance Methods
has_keys?(*rest)
click to toggle source
# File lib/riemann-monitors/main.rb, line 2 def has_keys?(*rest) rest.all? {|k| self.has_key?(k) } end
# File lib/riemann-monitors/main.rb, line 2 def has_keys?(*rest) rest.all? {|k| self.has_key?(k) } end