class String
Public Instance Methods
argescape()
click to toggle source
a crossplatform version of shellescape
# File lib/u3d_core/core_ext/string.rb, line 27 def argescape if U3dCore::Helper.windows? self =~ / / ? "\"#{self}\"" : self else require 'shellwords' Shellwords.escape(self) end end