Sha256: 23098ac2aac3f234c4fe4ce1956e9a1e2a25ce8af417631122a5c0f7c0102b57
Contents?: true
Size: 752 Bytes
Versions: 4
Compression:
Stored size: 752 Bytes
Contents
module Yoda module Store module Actions class ImportCoreLibrary # @return [Project::Dependency::Core] attr_reader :dep class << self # @param dep [Project::Dependency::Core] # @return [Objects::Patch] def run(dep) new(dep).run end end # @param dep [Project::Dependency::Core] def initialize(dep) @dep = dep end # @return [Objects::Patch] def run BuildCoreIndex.run unless BuildCoreIndex.exists? return unless File.exist?(dep.doc_path) patch = YardImporter.import(dep.doc_path) Transformers::CoreVisibility.transform(patch) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems