Sha256: 5bf10e7315fd39db83616572d949125c1fdcd77bb99f6fb48c1f339b68bf1bf5

Contents?: true

Size: 332 Bytes

Versions: 35

Compression:

Stored size: 332 Bytes

Contents

class SmartIoC::BeanDependency
  attr_reader :bean, :ref, :package
  attr_accessor :bean_definition

  def initialize(bean:, ref:, package:)
    @bean = bean
    @ref = ref
    @package = package
  end

  def ref
    @ref || @bean
  end

  def ==(dependency)
    dependency.bean == @bean && dependency.package == @package
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
smart_ioc-0.5.2 lib/smart_ioc/bean_dependency.rb
smart_ioc-0.5.1 lib/smart_ioc/bean_dependency.rb
smart_ioc-0.5.0 lib/smart_ioc/bean_dependency.rb
smart_ioc-0.3.9 lib/smart_ioc/bean_dependency.rb
smart_ioc-0.4.0 lib/smart_ioc/bean_dependency.rb
smart_ioc-0.3.8 lib/smart_ioc/bean_dependency.rb
smart_ioc-0.3.7 lib/smart_ioc/bean_dependency.rb
smart_ioc-0.3.6 lib/smart_ioc/bean_dependency.rb
smart_ioc-0.3.5 lib/smart_ioc/bean_dependency.rb
smart_ioc-0.3.2 lib/smart_ioc/bean_dependency.rb
smart_ioc-0.3.1 lib/smart_ioc/bean_dependency.rb
smart_ioc-0.3.0 lib/smart_ioc/bean_dependency.rb
smart_ioc-0.2.5 lib/smart_ioc/bean_dependency.rb
smart_ioc-0.2.4 lib/smart_ioc/bean_dependency.rb
smart_ioc-0.2.3 lib/smart_ioc/bean_dependency.rb
smart_ioc-0.2.2 lib/smart_ioc/bean_dependency.rb
smart_ioc-0.2.1 lib/smart_ioc/bean_dependency.rb
smart_ioc-0.2.0 lib/smart_ioc/bean_dependency.rb
smart_ioc-0.1.30 lib/smart_ioc/bean_dependency.rb
smart_ioc-0.1.29 lib/smart_ioc/bean_dependency.rb