Method: SearchPath#regex
- Defined in:
- lib/pik/search_path.rb
#regex(string) ⇒ Object
64 65 66 |
# File 'lib/pik/search_path.rb', line 64 def regex(string) Regexp.new(Regexp.escape(string.to_s), true) end |
64 65 66 |
# File 'lib/pik/search_path.rb', line 64 def regex(string) Regexp.new(Regexp.escape(string.to_s), true) end |