Sha256: 5f9d12871c36a18298ba28869cd040496105b88e2a2bdee214f71c84cff07238
Contents?: true
Size: 694 Bytes
Versions: 131
Compression:
Stored size: 694 Bytes
Contents
# frozen_string_literal: true require 'avm/entries/uri_builder' require 'eac_config/entry_path' require 'eac_ruby_utils/core_ext' module Avm module Entries module Base class UriComponentEntryValue class DefaultValue enable_method_class common_constructor :uri_component_entry_value delegate :component_entry_path, :entries_provider, to: :uri_component_entry_value def default_value_method_name "#{component_entry_path.parts.join('_').variableize}_default_value" end def result entries_provider.if_respond(default_value_method_name) end end end end end end
Version data entries
131 entries across 131 versions & 2 rubygems