Method: Intar::RedirectPipe.detect
- Defined in:
- lib/intar/redirect.rb
.detect(line, pager) ⇒ Object
34 35 36 37 38 |
# File 'lib/intar/redirect.rb', line 34 def detect line, pager if line.slice! /\s+\|((?:\b|\/)[^|&;{}()\[\]]*)?\z/ then new $1||pager end end |