Class: Fabrique::BeanReference
- Inherits:
-
Object
- Object
- Fabrique::BeanReference
- Defined in:
- lib/fabrique/bean_reference.rb
Instance Attribute Summary collapse
-
#bean ⇒ Object
readonly
Returns the value of attribute bean.
Instance Method Summary collapse
-
#initialize(bean) ⇒ BeanReference
constructor
A new instance of BeanReference.
Constructor Details
#initialize(bean) ⇒ BeanReference
Returns a new instance of BeanReference.
7 8 9 |
# File 'lib/fabrique/bean_reference.rb', line 7 def initialize(bean) @bean = bean end |
Instance Attribute Details
#bean ⇒ Object (readonly)
Returns the value of attribute bean.
5 6 7 |
# File 'lib/fabrique/bean_reference.rb', line 5 def bean @bean end |