Class: Rioc::Bean::RiocBean

Inherits:
Object
  • Object
show all
Defined in:
lib/rioc/bean/bean.rb

Overview

RiocBean class

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#factoryObject (readonly)

Returns the value of attribute factory.



15
16
17
# File 'lib/rioc/bean/bean.rb', line 15

def factory
  @factory
end

#lazyObject (readonly)

Returns the value of attribute lazy.



15
16
17
# File 'lib/rioc/bean/bean.rb', line 15

def lazy
  @lazy
end

#nameObject (readonly)

Returns the value of attribute name.



15
16
17
# File 'lib/rioc/bean/bean.rb', line 15

def name
  @name
end

#scopeObject (readonly)

Returns the value of attribute scope.



15
16
17
# File 'lib/rioc/bean/bean.rb', line 15

def scope
  @scope
end