Class: SmartIoC::InjectMetadata
- Inherits:
-
Object
- Object
- SmartIoC::InjectMetadata
- Defined in:
- lib/smart_ioc/inject_metadata.rb
Instance Attribute Summary collapse
-
#bean ⇒ Object
readonly
Returns the value of attribute bean.
-
#from ⇒ Object
readonly
Returns the value of attribute from.
-
#ref ⇒ Object
readonly
Returns the value of attribute ref.
Instance Method Summary collapse
-
#initialize(bean, ref, from) ⇒ InjectMetadata
constructor
A new instance of InjectMetadata.
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
#bean ⇒ Object (readonly)
Returns the value of attribute bean.
2 3 4 |
# File 'lib/smart_ioc/inject_metadata.rb', line 2 def bean @bean end |
#from ⇒ Object (readonly)
Returns the value of attribute from.
2 3 4 |
# File 'lib/smart_ioc/inject_metadata.rb', line 2 def from @from end |
#ref ⇒ Object (readonly)
Returns the value of attribute ref.
2 3 4 |
# File 'lib/smart_ioc/inject_metadata.rb', line 2 def ref @ref end |