Sha256: 0be6215ab606acf2d29d768903d9c23bb9c55e4a1c42e0c096cc474de061f10c

Contents?: true

Size: 651 Bytes

Versions: 26

Compression:

Stored size: 651 Bytes

Contents

# frozen_string_literal: true

require 'active_support/core_ext/module/delegation'
require 'eac_ruby_utils/module_ancestors_variable/base'
require 'eac_ruby_utils/enumerables_methods'

module EacRubyUtils
  module ModuleAncestorsVariable
    class Hash < ::EacRubyUtils::ModuleAncestorsVariable::Base
      INITIAL_VALUE = {}.freeze

      def initialize(the_module, method_name)
        super(the_module, method_name, INITIAL_VALUE)
      end

      delegate(*::EacRubyUtils::EnumerablesMethods::HASH_READ_METHODS, to: :ancestors_variable)
      delegate(*::EacRubyUtils::EnumerablesMethods::HASH_WRITE_METHODS, to: :self_variable)
    end
  end
end

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
eac_ruby_utils-0.123.0 lib/eac_ruby_utils/module_ancestors_variable/hash.rb
eac_ruby_utils-0.121.0 lib/eac_ruby_utils/module_ancestors_variable/hash.rb
eac_ruby_utils-0.120.0 lib/eac_ruby_utils/module_ancestors_variable/hash.rb
eac_tools-0.76.1 sub/eac_ruby_utils/lib/eac_ruby_utils/module_ancestors_variable/hash.rb
eac_tools-0.76.0 sub/eac_ruby_utils/lib/eac_ruby_utils/module_ancestors_variable/hash.rb
eac_tools-0.75.2 sub/eac_ruby_utils/lib/eac_ruby_utils/module_ancestors_variable/hash.rb
eac_ruby_utils-0.119.2 lib/eac_ruby_utils/module_ancestors_variable/hash.rb
eac_tools-0.75.1 sub/eac_ruby_utils/lib/eac_ruby_utils/module_ancestors_variable/hash.rb
eac_tools-0.75.0 sub/eac_ruby_utils/lib/eac_ruby_utils/module_ancestors_variable/hash.rb
eac_ruby_utils-0.119.1 lib/eac_ruby_utils/module_ancestors_variable/hash.rb
eac_tools-0.74.1 sub/eac_ruby_utils/lib/eac_ruby_utils/module_ancestors_variable/hash.rb
eac_tools-0.74.0 sub/eac_ruby_utils/lib/eac_ruby_utils/module_ancestors_variable/hash.rb
eac_tools-0.73.0 sub/eac_ruby_utils/lib/eac_ruby_utils/module_ancestors_variable/hash.rb
eac_ruby_utils-0.119.0 lib/eac_ruby_utils/module_ancestors_variable/hash.rb
eac_tools-0.72.0 sub/eac_ruby_utils/lib/eac_ruby_utils/module_ancestors_variable/hash.rb
eac_ruby_utils-0.118.1 lib/eac_ruby_utils/module_ancestors_variable/hash.rb
eac_ruby_utils-0.118.0 lib/eac_ruby_utils/module_ancestors_variable/hash.rb
eac_tools-0.70.1 sub/eac_ruby_utils/lib/eac_ruby_utils/module_ancestors_variable/hash.rb
eac_tools-0.70.0 sub/eac_ruby_utils/lib/eac_ruby_utils/module_ancestors_variable/hash.rb
eac_tools-0.69.1 sub/eac_ruby_utils/lib/eac_ruby_utils/module_ancestors_variable/hash.rb