Class: Yadi::FactoryBox
- Inherits:
-
Object
- Object
- Yadi::FactoryBox
- Defined in:
- lib/yadi/factory_box.rb
Instance Attribute Summary collapse
-
#contents ⇒ Object
readonly
Returns the value of attribute contents.
Instance Method Summary collapse
- #call(container) ⇒ Object
-
#initialize(klass_name) ⇒ FactoryBox
constructor
A new instance of FactoryBox.
Constructor Details
#initialize(klass_name) ⇒ FactoryBox
Returns a new instance of FactoryBox.
5 6 7 |
# File 'lib/yadi/factory_box.rb', line 5 def initialize(klass_name) @klass_name = klass_name end |
Instance Attribute Details
#contents ⇒ Object (readonly)
Returns the value of attribute contents.
3 4 5 |
# File 'lib/yadi/factory_box.rb', line 3 def contents @contents end |