Class: SmartIoC::InjectMetadata

Inherits:
Object
  • Object
show all
Defined in:
lib/smart_ioc/inject_metadata.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bean, ref, from) ⇒ InjectMetadata

Returns a new instance of InjectMetadata.



4
5
6
7
8
# File 'lib/smart_ioc/inject_metadata.rb', line 4

def initialize(bean, ref, from)
  @bean = bean
  @ref = ref
  @from = from
end

Instance Attribute Details

#beanObject (readonly)

Returns the value of attribute bean.



2
3
4
# File 'lib/smart_ioc/inject_metadata.rb', line 2

def bean
  @bean
end

#fromObject (readonly)

Returns the value of attribute from.



2
3
4
# File 'lib/smart_ioc/inject_metadata.rb', line 2

def from
  @from
end

#refObject (readonly)

Returns the value of attribute ref.



2
3
4
# File 'lib/smart_ioc/inject_metadata.rb', line 2

def ref
  @ref
end