Module: Avm::Applications::Base::LocalSource

Defined in:
lib/avm/applications/base/local_source.rb

Instance Method Summary collapse

Instance Method Details

#local_source_pathPathname

Returns:

  • (Pathname)


12
13
14
# File 'lib/avm/applications/base/local_source.rb', line 12

def local_source_path
  (local_source_path_entry.value || auto_local_source_path).to_pathname
end

#local_source_path_entryEacConfig::Entry

Returns:

  • (EacConfig::Entry)


17
18
19
# File 'lib/avm/applications/base/local_source.rb', line 17

def local_source_path_entry
  ::EacConfig::Node.context.current.entry([local_instance_id, 'install', 'path'])
end