Sha256: f96d34d57f78289d254f679557021f432c75ca8d212f1af51993032547ab9f4d
Contents?: true
Size: 499 Bytes
Versions: 15
Compression:
Stored size: 499 Bytes
Contents
# frozen_string_literal: true require 'avm/entries/uri_builder' require 'eac_ruby_utils/core_ext' module Avm module Entries module AutoValues class UriEntry common_constructor :entries_provider, :suffix def found? value.present? end def value ::Avm::Entries::UriBuilder.from_all_fields do |field_name| entries_provider.entry([suffix, field_name]).value end.to_uri.to_s end end end end end
Version data entries
15 entries across 15 versions & 2 rubygems