20 21 22 23 24 25
# File 'lib/core_ext/regexp.rb', line 20 def template if(!@template) @template = Regexp::Template.new(source:self.source) end return @template end