Sha256: 60817cfe63a85182cf278c040bf9cb50255a95403e6ccd6d7d806f62a12f925e
Contents?: true
Size: 912 Bytes
Versions: 102
Compression:
Stored size: 912 Bytes
Contents
# frozen_string_literal: true require 'avm/entries/base/uri_components_entries_values/generic_component' require 'eac_ruby_utils/core_ext' module Avm module Entries module Base class UriComponentsEntriesValues class UrlComponent < ::Avm::Entries::Base::UriComponentsEntriesValues::GenericComponent def setup outer_self = self define_auto_method do inherited_entry_value(outer_self.id_component.entry_key_path.to_string, outer_self.entry_key_path.to_string) || outer_self.auto_install_url_by_parts(self) end end def auto_install_url_by_parts(entries_provider) require 'avm/entries/auto_values/uri_entry' ::Avm::Entries::AutoValues::UriEntry.new(entries_provider, 'install').value end end end end end end
Version data entries
102 entries across 102 versions & 2 rubygems