Sha256: fbc3c562d2ed257fa8d0d7925598882fecafa8067e9d134ca7352c0fb2ef4ef4
Contents?: true
Size: 486 Bytes
Versions: 4
Compression:
Stored size: 486 Bytes
Contents
class MonoRepoDeps::Project::Builder include MonoRepoDeps::Mixins Inject = MonoRepoDeps::Deps[ "project.factory", ] include Inject sig do params(project_root: String).returns(MonoRepoDeps::Project) end def call(project_root) project_file_path = "#{project_root}/#{MonoRepoDeps::PROJECT_FILENAME}" project_init_proc = proc { instance_eval(File.read(project_file_path)) } project = factory.call(project_root, init_proc: project_init_proc) end end
Version data entries
4 entries across 4 versions & 1 rubygems