class Specinfra::Command::Base

Public Class Methods

create() click to toggle source
# File lib/specinfra/command/base.rb, line 6
def create
  self
end
escape(target) click to toggle source
# File lib/specinfra/command/base.rb, line 10
def escape(target)
  str = case target
        when Regexp
          target.source
        else
          target.to_s
        end

  Shellwords.shellescape(str)
end