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

Version Path
eac_config-0.14.2 lib/eac_config/node_entry.rb
eac_tools-0.82.0 sub/eac_config/lib/eac_config/node_entry.rb
eac_tools-0.81.0 sub/eac_config/lib/eac_config/node_entry.rb
eac_tools-0.80.0 sub/eac_config/lib/eac_config/node_entry.rb
eac_tools-0.79.0 sub/eac_config/lib/eac_config/node_entry.rb
eac_config-0.14.1 lib/eac_config/node_entry.rb
eac_tools-0.78.0 sub/eac_config/lib/eac_config/node_entry.rb
eac_tools-0.77.1 sub/eac_config/lib/eac_config/node_entry.rb
eac_tools-0.77.0 sub/eac_config/lib/eac_config/node_entry.rb
eac_tools-0.76.1 sub/eac_config/lib/eac_config/node_entry.rb
eac_tools-0.76.0 sub/eac_config/lib/eac_config/node_entry.rb
eac_tools-0.75.2 sub/eac_config/lib/eac_config/node_entry.rb
eac_tools-0.75.1 sub/eac_config/lib/eac_config/node_entry.rb
eac_tools-0.75.0 sub/eac_config/lib/eac_config/node_entry.rb
eac_tools-0.74.1 sub/eac_config/lib/eac_config/node_entry.rb
eac_tools-0.74.0 sub/eac_config/lib/eac_config/node_entry.rb
eac_config-0.14.0 lib/eac_config/node_entry.rb
eac_tools-0.73.0 sub/eac_config/lib/eac_config/node_entry.rb
eac_config-0.13.0 lib/eac_config/node_entry.rb
eac_tools-0.72.0 sub/eac_config/lib/eac_config/node_entry.rb