Sha256: eec390c8354f847e586e3b6edc998d747265dacff320e6fb7ead1d976ec642e2
Contents?: true
Size: 509 Bytes
Versions: 4
Compression:
Stored size: 509 Bytes
Contents
# frozen_string_literal: true # @api private # @since 0.1.0 class SmartCore::Injection::Injector::ContainerSet::AddingListener # @param listener [Proc] # @return [void] # # @api private # @since 0.1.0 def initialize(listener) @listener = listener end # @param cotnainer [SmartCore::Container] # # @api private # @since 0.1.0 def notify(container) listener.call(container) end private # @return [Proc] # # @api private # @since 0.1.0 attr_reader :listener end
Version data entries
4 entries across 4 versions & 1 rubygems