class String

Public Instance Methods

shellescape → string click to toggle source

Escapes str so that it can be safely used in a Bourne shell command line. See +Shellwords.shellescape+ for details.

# File lib/mail/core_extensions/shellwords.rb, line 52
def shellescape
  Shellwords.escape(self)
end