module LearnOpen::DependencyInstallers
Public Class Methods
installer_types()
click to toggle source
# File lib/learn_open/services/dependency_installers.rb, line 3 def self.installer_types [ PipInstaller, GemInstaller, NodeInstaller ] end
run_installers(lesson, location, environment, options)
click to toggle source
# File lib/learn_open/services/dependency_installers.rb, line 11 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