Sha256: 04c9cd2aac2d2c6a8b7c722a4ccd7347025c924a1e6c741059529f6bf0866725

Contents?: true

Size: 419 Bytes

Versions: 7

Compression:

Stored size: 419 Bytes

Contents

module LearnOpen
  module DependencyInstallers
    def self.installer_types
      [
          PipInstaller,
          GemInstaller,
          NodeInstaller
      ]
    end

    def self.run_installers(lesson, location, environment, options)
      installer_types.each do |type|
        if type.detect(lesson, location)
          type.call(lesson, location, environment, options)
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
learn-open-1.2.28 lib/learn_open/services/dependency_installers.rb
learn-open-1.2.27 lib/learn_open/services/dependency_installers.rb
learn-open-1.2.26 lib/learn_open/services/dependency_installers.rb
learn-open-1.2.24 lib/learn_open/services/dependency_installers.rb
learn-open-1.2.23 lib/learn_open/services/dependency_installers.rb
learn-open-1.2.22 lib/learn_open/services/dependency_installers.rb
learn-open-1.2.21 lib/learn_open/services/dependency_installers.rb