Class: Puppet::Util::MultiMatch::MatchNotNil

Inherits:
Object
  • Object
show all
Defined in:
lib/puppet/util/multi_match.rb

Overview

Matches any value that is not nil using the === operator.

Instance Method Summary collapse

Instance Method Details

#===(v) ⇒ Object



42
43
44
# File 'lib/puppet/util/multi_match.rb', line 42

def ===(v)
  !v.nil?
end