Module: Dry::Core::Container::Mixin

Included in:
Factorix::Container
Defined in:
sig/dry/core/container.rbs

Instance Method Summary collapse

Instance Method Details

#[] ⇒ Object

Parameters:

  • (Symbol, String)

Returns:

  • (Object)


13
# File 'sig/dry/core/container.rbs', line 13

def []: (Symbol | String) -> untyped

#register ⇒ void

This method returns an undefined value.

Parameters:

  • (Symbol, String)
  • memoize: (Boolean)


9
# File 'sig/dry/core/container.rbs', line 9

def register: (Symbol | String, ?memoize: bool) ?{ () -> untyped } -> void

#resolve ⇒ Object

Parameters:

  • (Symbol, String)

Returns:

  • (Object)


11
# File 'sig/dry/core/container.rbs', line 11

def resolve: (Symbol | String) -> untyped