Module: Dry

Defined in:
lib/dry/core.rb,
lib/dry/core/cache.rb,
lib/dry/core/errors.rb,
lib/dry/core/version.rb,
lib/dry/core/constants.rb,
lib/dry/core/container.rb,
lib/dry/core/equalizer.rb,
lib/dry/core/inflector.rb,
lib/dry/core/extensions.rb,
lib/dry/core/memoizable.rb,
lib/dry/core/basic_object.rb,
lib/dry/core/deprecations.rb,
lib/dry/core/class_builder.rb,
lib/dry/core/container/item.rb,
lib/dry/core/container/stub.rb,
lib/dry/core/container/mixin.rb,
lib/dry/core/class_attributes.rb,
lib/dry/core/container/config.rb,
lib/dry/core/container/registry.rb,
lib/dry/core/container/resolver.rb,
lib/dry/core/container/namespace.rb,
lib/dry/core/descendants_tracker.rb,
lib/dry/core/container/item/factory.rb,
lib/dry/core/container/configuration.rb,
lib/dry/core/container/item/callable.rb,
lib/dry/core/container/namespace_dsl.rb,
lib/dry/core/container/item/memoizable.rb

Overview

This implementation was imported from ‘hanami-utils` gem.

Defined Under Namespace

Modules: Core

Class Method Summary collapse

Class Method Details

.Equalizer(*keys, **options) ⇒ Object

Build an equalizer module for the inclusion in other class

## Credits

Equalizer has been originally imported from the equalizer gem created by Dan Kubb



52
53
54
# File 'lib/dry/core.rb', line 52

def self.Equalizer(*keys, **options)
  Dry::Core::Equalizer.new(*keys, **options)
end