# frozen_string_literal: true require 'eac_config/entry_path' require 'eac_config/paths_hash' require 'eac_ruby_utils/core_ext' module EacConfig # A entry which search values only in the source node. class NodeEntry enable_abstract_methods enable_simple_cache common_constructor :node, :path do self.path = ::EacConfig::EntryPath.assert(path) end abstract_methods :found?, :value, :value= end end