Sha256: e4e8c38f8b1b1dba557b7b28d216ef854cb58e5aa6dd507fc3cdbb23bdcf4ed2
Contents?: true
Size: 648 Bytes
Versions: 7
Compression:
Stored size: 648 Bytes
Contents
module LearnOpen module DependencyInstallers class BaseInstaller attr_reader :lesson, :location, :system_adapter, :io, :environment def self.call(lesson, location, environment, options) if self.detect(lesson, location) self.new(lesson, location, environment, options).run end end def initialize(lesson, location, environment, options) @lesson = lesson @location = location @environment = environment @system_adapter = options.fetch(:system_adapter, LearnOpen.system_adapter) @io = options.fetch(:io, LearnOpen.default_io) end end end end
Version data entries
7 entries across 7 versions & 1 rubygems