Sha256: 80ea599e26ef8c1449bc71f8ba61ed91baf30663bb42e3de58cd47d1092b7ddd
Contents?: true
Size: 362 Bytes
Versions: 364
Compression:
Stored size: 362 Bytes
Contents
require 'shellwords' class Specinfra::Command::Base class << self class NotImplementedError < Exception; end def create self end def escape(target) str = case target when Regexp target.source else target.to_s end Shellwords.shellescape(str) end end end
Version data entries
364 entries across 364 versions & 3 rubygems