Sha256: 5eb4d77cc05ce4d508f9b9bc9b6020952e510e7771a1a72caf35100811bcaa60
Contents?: true
Size: 748 Bytes
Versions: 2
Compression:
Stored size: 748 Bytes
Contents
# frozen_string_literal: true # @api private # @since 0.7.0 class SmartCore::Container::Entities::Dependency < SmartCore::Container::Entities::Base # @return [String] # # @api private # @since 0.7.0 alias_method :dependency_name, :external_name # @param dependency_name [String] # @param dependency_definition [Proc] # @return [void] # # @api private # @since 0.7.0 def initialize(dependency_name, dependency_definition) super(dependency_name) @dependency_definition = dependency_definition end # @return [Any] # # @api private # @since 0.8.0 def reveal dependency_definition.call end private # @return [Proc] # # @api private # @since 0.7.0 attr_reader :dependency_definition end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
smart_core-0.8.1 | lib/smart_core/container/entities/dependency.rb |
smart_core-0.8.0 | lib/smart_core/container/entities/dependency.rb |