Sha256: de447c5c20d6b11bad07a339e3951a4646a5c1dd23e03e770b7ef555c5c6a8c6
Contents?: true
Size: 706 Bytes
Versions: 32
Compression:
Stored size: 706 Bytes
Contents
# frozen_string_literal: true require 'avm/registry' require 'eac_config/node' require 'eac_ruby_utils/core_ext' module Avm module Applications class Base module LocalSource # @return [Pathname] def local_source_path (local_source_path_entry.value || auto_local_source_path).to_pathname end # @return [EacConfig::Entry] def local_source_path_entry ::EacConfig::Node.context.current.entry([local_instance_id, 'install', 'path']) end private # @return [Avm::Sources::Base] def local_source_uncached ::Avm::Registry.sources.detect(local_source_path) end end end end end
Version data entries
32 entries across 32 versions & 2 rubygems