class Mount::Command::Base

Public Instance Methods

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

  Shellwords.shellescape(str)
end
install(package, version=nil) click to toggle source
# File lib/mount/command/base.rb, line 17
def install(package, version=nil)
  raise NotImplementedError.new
end