Sha256: 13c23b579b26b8f15a2308e1defabe8b4d6ad33207963cd5666ae0d822821b70
Contents?: true
Size: 664 Bytes
Versions: 38
Compression:
Stored size: 664 Bytes
Contents
# frozen_string_literal: true require 'eac_config/node' require 'eac_ruby_utils/core_ext' module Avm module Entries module AutoValues class Entry class << self def auto_value_method_name(suffix) "auto_#{suffix.to_s.gsub('.', '_')}" end end common_constructor :entries_provider, :suffix def auto_value_method self.class.auto_value_method_name(suffix) end def found? entries_provider.respond_to?(auto_value_method, true) end def value entries_provider.if_respond(auto_value_method) end end end end end
Version data entries
38 entries across 38 versions & 2 rubygems