Class: Rioc::Bean::RiocBean
- Inherits:
-
Object
- Object
- Rioc::Bean::RiocBean
- Defined in:
- lib/rioc/bean/bean.rb
Overview
RiocBean class
Instance Attribute Summary collapse
-
#factory ⇒ Object
readonly
Returns the value of attribute factory.
-
#lazy ⇒ Object
readonly
Returns the value of attribute lazy.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#scope ⇒ Object
readonly
Returns the value of attribute scope.
Instance Method Summary collapse
-
#initialize(name, factory, scope, lazy) ⇒ RiocBean
constructor
A new instance of RiocBean.
Constructor Details
#initialize(name, factory, scope, lazy) ⇒ RiocBean
Returns a new instance of RiocBean.
17 18 19 20 21 22 |
# File 'lib/rioc/bean/bean.rb', line 17 def initialize(name, factory, scope, lazy) @name = name @factory = factory @scope = scope @lazy = lazy end |
Instance Attribute Details
#factory ⇒ Object (readonly)
Returns the value of attribute factory.
15 16 17 |
# File 'lib/rioc/bean/bean.rb', line 15 def factory @factory end |
#lazy ⇒ Object (readonly)
Returns the value of attribute lazy.
15 16 17 |
# File 'lib/rioc/bean/bean.rb', line 15 def lazy @lazy end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
15 16 17 |
# File 'lib/rioc/bean/bean.rb', line 15 def name @name end |
#scope ⇒ Object (readonly)
Returns the value of attribute scope.
15 16 17 |
# File 'lib/rioc/bean/bean.rb', line 15 def scope @scope end |