search for: b_obj

Displaying 1 result from an estimated 1 matches for "b_obj".

Did you mean: db_obj
2006 Jun 20
0
Achieve pure object oriented design in Ruby (also posted on Ruby List)
...A. 4. class A has multiple instances of class B associated with it and similarly class B has multiple instances of class C associated with it. Following are the classes with required methods and variables; class A #array of objects of class B associated with this instance @b_objs #method to create instance of B and add it to above array #methods to modify member variables of an instance of B and C (class C is defined below) end class B @b1 @b2 #array of objects of class C @c_objs #method to create instance of C and add it to above array #methods to...