Sha256: 07e4d2f3020834f5fe74ff4ec19903f69944ae9f62c2e575e592394d963c8d24
Contents?: true
Size: 599 Bytes
Versions: 20
Compression:
Stored size: 599 Bytes
Contents
# 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 compare_by :node, :path abstract_methods :found?, :value, :value= def secret_value value end # @return [String] def to_s "#{self.class}[Node: #{node}, Path: #{path}]" end end end
Version data entries
20 entries across 20 versions & 2 rubygems