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



46
47
48
# File 'lib/puppet/util/multi_match.rb', line 46

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