Module: Avm::Applications::Base::LocalSource
- Defined in:
- lib/avm/applications/base/local_source.rb
Instance Method Summary collapse
- #local_source_path ⇒ Pathname
- #local_source_path_entry ⇒ EacConfig::Entry
- #user_local_source_path ⇒ Path?
Instance Method Details
#local_source_path ⇒ Pathname
12 13 14 |
# File 'lib/avm/applications/base/local_source.rb', line 12 def local_source_path user_local_source_path || auto_local_source_path end |
#local_source_path_entry ⇒ 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 |
#user_local_source_path ⇒ Path?
22 23 24 |
# File 'lib/avm/applications/base/local_source.rb', line 22 def user_local_source_path local_source_path_entry.value.if_present(&:to_pathname) end |