Method: Tap::Test::ShellTest::RegexpEscape#initialize
- Defined in:
- lib/tap/test/shell_test/regexp_escape.rb
#initialize(str, *options) ⇒ RegexpEscape
Generates a new RegexpEscape by escaping the str, using the same options as Regexp.
76 77 78 79 |
# File 'lib/tap/test/shell_test/regexp_escape.rb', line 76 def initialize(str, *) super(RegexpEscape.escape(str), *) @original_str = str end |