module Shellwords

Shellwords

Public Class Methods

clean(string)
Alias for: shellclean
shellclean(string) click to toggle source

Clean string based shell pattern

@param [String] string

The string which should be clean up

@return [String]

Every character which needs to be escape in a shell has been removed
# File lib/fedux_org_stdlib/core_ext/shellwords/clean.rb, line 14
def shellclean(string)
  shellescape(string).gsub(/\\./, '')
end
Also aliased as: clean