Sha256: 1b5dd11b18576117994a6d25f1eb62ba5a803323b6819e8aafc7459aacfc6df6
Contents?: true
Size: 961 Bytes
Versions: 61
Compression:
Stored size: 961 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 define_auto_method outer_self = self entries_provider_class.define_method(auto_method_name) 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
61 entries across 61 versions & 2 rubygems