class Corindon::DependencyInjection::Token::ServiceFactoryToken

Attributes

method[R]
service[R]

Public Class Methods

new(service, method) click to toggle source
Calls superclass method
# File lib/corindon/dependency_injection/token/service_factory_token.rb, line 10
def initialize(service, method)
  super()

  @service = service
  @method = method
end

Public Instance Methods

resolve(injector:) click to toggle source

@param [Injector] injector

# File lib/corindon/dependency_injection/token/service_factory_token.rb, line 18
def resolve(injector:)
  [injector.resolve(service), method]
end