Regexp#quote only shows one param
Charles Oliver Nutter <[email protected]> Fri, 23 Feb 2007 06:16:58 +0530
| Newsgroups | gmane.comp.lang.ruby.documentation |
|---|---|
| Message-ID | <[email protected]> |
Regexp.quote can accept an optional encoding, yes? However ri only shows
that it accepts a single argument:
---------------------------------------------------------- Regexp::quote
Regexp.escape(str) => a_str
Regexp.quote(str) => a_str
I know practically nothing about rdoc, so I'll defer to those with more
experience here.
- Charlie