Method: Puppet::Pops::Types::TypeFactory.regexp
- Defined in:
- lib/puppet/pops/types/type_factory.rb
.regexp(pattern = nil) ⇒ Object
Produces the Regexp type
263 264 265 |
# File 'lib/puppet/pops/types/type_factory.rb', line 263 def self.regexp(pattern = nil) pattern ? PRegexpType.new(pattern) : PRegexpType::DEFAULT end |