Sha256: a5a12c9ddecf4f60308bb1df92a21f8f0420ac929edab0b8a93c3c7247767748

Contents?: true

Size: 603 Bytes

Versions: 28

Compression:

Stored size: 603 Bytes

Contents

# frozen_string_literal: true

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

module EacRubyUtils
  module ModuleAncestorsVariable
    class Set < ::EacRubyUtils::ModuleAncestorsVariable::Base
      INITIAL_VALUE = ::Set.new

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

      delegate(*::EacRubyUtils::EnumerablesMethods::SET_READ_METHODS, to: :ancestors_variable)
      delegate(*::EacRubyUtils::EnumerablesMethods::SET_WRITE_METHODS, to: :self_variable)
    end
  end
end

Version data entries

28 entries across 28 versions & 2 rubygems

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