lib/arborist/monitor.rb in arborist-0.0.1.pre20160829140603 vs lib/arborist/monitor.rb in arborist-0.0.1.pre20161005112841
- old
+ new
@@ -299,17 +299,17 @@
### Specify that the monitor should include the specified +criteria+ when searching
### for nodes it will run against.
def match( criteria )
- @positive_criteria.merge!( criteria )
+ self.positive_criteria.merge!( criteria )
end
### Specify that the monitor should exclude nodes which match the specified
### +criteria+ when searching for nodes it will run against.
def exclude( criteria )
- @negative_criteria.merge!( criteria )
+ self.negative_criteria.merge!( criteria )
end
### Specify that the monitor should (or should not) include nodes which have been
### marked 'down'.