class Ronin::CLI::Commands::Unquote

Unquotes a double/single quoted string.

## Usage

ronin unquote [options] [FILE ...]

## Options

-f, --file FILE                  Optional file to process
    --string STRING              Optional string to process
-M, --multiline                  Process each line separately
-n, --keep-newlines              Preserves newlines at the end of each line
-X, --hex                        Unquotes the Hex string
-c, --c                          Unquotes the C string
-j, --js                         Unquotes the JavaScript String
-S, --shell                      Unquotes the Shell String
-P, --powershell                 Unquotes the PowerShell String
-R, --ruby                       Unquotes the Ruby String
-h, --help                       Print help information

## Arguments

[FILE ...]                       Optional file(s) to process

Public Instance Methods

process_string(string) click to toggle source

Unquotes the String.

@param [String] string

The String to unquote.

@return [String]

The unquoted String.

@note

If no options are given, then `--string` is assumed.
Calls superclass method
# File lib/ronin/cli/commands/unquote.rb, line 103
def process_string(string)
  if @method_calls.empty?
    string.unquote
  else
    super(string)
  end
end