Class: DockerSync::Dependencies::PackageManager::None

Inherits:
Base
  • Object
show all
Defined in:
lib/docker-sync/dependencies/package_managers/none.rb

Constant Summary collapse

NO_PACKAGE_MANAGER_AVAILABLE =
'No package manager was found. Please either install one of those supported (brew, apt, rpm) or install all dependencies manually.'.freeze

Constants inherited from Base

Base::DID_NOT_INSTALL_PACKAGE, Base::FAILED_TO_INSTALL_PACKAGE

Instance Attribute Summary

Attributes inherited from Base

#package

Class Method Summary collapse

Methods inherited from Base

#initialize, install_package

Constructor Details

This class inherits a constructor from DockerSync::Dependencies::PackageManager::Base

Class Method Details

.available?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/docker-sync/dependencies/package_managers/none.rb', line 7

def self.available?
  @available ||= true
end

.ensure!Object



11
12
13
# File 'lib/docker-sync/dependencies/package_managers/none.rb', line 11

def self.ensure!
  # noop
end