Module: Avm::Instances::Base::AutoValues::Install
- Defined in:
- lib/avm/instances/base/auto_values/install.rb
Instance Method Summary collapse
- #auto_install_url ⇒ Object
- #auto_install_url_by_parts ⇒ Object
- #install_data_path_inherited_value_proc(value) ⇒ Object
- #install_groupname_default_value ⇒ Object
- #install_path_inherited_value_proc(value) ⇒ Object
Instance Method Details
#auto_install_url ⇒ Object
20 21 22 23 24 |
# File 'lib/avm/instances/base/auto_values/install.rb', line 20 def auto_install_url inherited_entry_value(::Avm::Instances::EntryKeys::INSTALL_ID, ::Avm::Instances::EntryKeys::INSTALL_URL) || auto_install_url_by_parts end |
#auto_install_url_by_parts ⇒ Object
26 27 28 29 |
# File 'lib/avm/instances/base/auto_values/install.rb', line 26 def auto_install_url_by_parts require 'avm/entries/auto_values/uri_entry' ::Avm::Entries::AutoValues::UriEntry.new(self, 'install').value end |
#install_data_path_inherited_value_proc(value) ⇒ Object
31 32 33 |
# File 'lib/avm/instances/base/auto_values/install.rb', line 31 def install_data_path_inherited_value_proc(value) value + '/' + id end |
#install_groupname_default_value ⇒ Object
35 36 37 |
# File 'lib/avm/instances/base/auto_values/install.rb', line 35 def install_groupname_default_value read_entry_optional(::Avm::Instances::EntryKeys::INSTALL_USERNAME) end |
#install_path_inherited_value_proc(value) ⇒ Object
39 40 41 |
# File 'lib/avm/instances/base/auto_values/install.rb', line 39 def install_path_inherited_value_proc(value) install_data_path_inherited_value_proc(value) end |