Module: Shellwords
- Defined in:
- lib/fedux_org_stdlib/core_ext/shellwords/clean.rb
Overview
Shellwords
Class Method Summary collapse
-
.shellclean(string) ⇒ String
(also: clean)
Clean string based shell pattern.
Class Method Details
.shellclean(string) ⇒ String Also known as: clean
Clean string based shell pattern
14 15 16 |
# File 'lib/fedux_org_stdlib/core_ext/shellwords/clean.rb', line 14 def shellclean(string) shellescape(string).gsub(/\\./, '') end |