# File lib/puppet/parser/ast/match_operator.rb, line 23 23: def initialize(hash) 24: super 25: 26: unless %w{!~ =~}.include?(@operator) 27: raise ArgumentError, "Invalid regexp operator %s" % @operator 28: end 29: end