189 190 191
# File 'lib/puppet/pops/types/types.rb', line 189 def ==(o) self.class == o.class && pattern == o.pattern end
185 186 187
# File 'lib/puppet/pops/types/types.rb', line 185 def hash [self.class, pattern].hash end
180 181 182 183
# File 'lib/puppet/pops/types/types.rb', line 180 def regexp_derived @_regexp = Regexp.new(pattern) unless @_regexp && @_regexp.source == pattern @_regexp end