Sha256: df8d948bdf2b9755d6b626d95622bf163047764b8f7d185933371e4cb6a4c96a
Contents?: true
Size: 679 Bytes
Versions: 5
Compression:
Stored size: 679 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!.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
5 entries across 5 versions & 2 rubygems