Method: Regexp::Template.group

Defined in:
lib/core_ext/regexp.rb

.group(atoms) ⇒ Object



333
334
335
# File 'lib/core_ext/regexp.rb', line 333

def self.group(atoms)
  return "[#{atoms.join("")}]"
end