Method: String#shellescape
- Defined in:
- lib/shellwords.rb
permalink #shellescape ⇒ Object
call-seq:
str.shellescape => string
Escapes str
so that it can be safely used in a Bourne shell command line.
See Shellwords.shellescape for details.
238 239 240 |
# File 'lib/shellwords.rb', line 238 def shellescape Shellwords.escape(self) end |