Sha256: 9bda6da88bf09e88aea035461b47df1a5d0d63087d952f359eb46f48f8ad31d3

Contents?: true

Size: 198 Bytes

Versions: 31

Compression:

Stored size: 198 Bytes

Contents

# encoding: utf-8
require 'shellwords'

module Shellwords
  class << self
    def shellclean(string)
      shellescape(string).gsub(/\\./, '')
    end
    alias_method :clean, :shellclean
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
fedux_org-stdlib-0.6.54 lib/fedux_org_stdlib/core_ext/shellwords/clean.rb
fedux_org-stdlib-0.6.53 lib/fedux_org_stdlib/core_ext/shellwords/clean.rb
fedux_org-stdlib-0.6.52 lib/fedux_org_stdlib/core_ext/shellwords/clean.rb
fedux_org-stdlib-0.6.51 lib/fedux_org_stdlib/core_ext/shellwords/clean.rb
fedux_org-stdlib-0.6.50 lib/fedux_org_stdlib/core_ext/shellwords/clean.rb
fedux_org-stdlib-0.6.48 lib/fedux_org_stdlib/core_ext/shellwords/clean.rb
fedux_org-stdlib-0.6.47 lib/fedux_org_stdlib/core_ext/shellwords/clean.rb
fedux_org-stdlib-0.6.46 lib/fedux_org_stdlib/core_ext/shellwords/clean.rb
fedux_org-stdlib-0.6.45 lib/fedux_org_stdlib/core_ext/shellwords/clean.rb
fedux_org-stdlib-0.6.44 lib/fedux_org_stdlib/core_ext/shellwords/clean.rb
fedux_org-stdlib-0.6.43 lib/fedux_org_stdlib/core_ext/shellwords/clean.rb