IV.2.1 Utilities Module
In file“"RUBY/UTIL/util.rb”, one defines the “Util” Module that contains several useful methods:
- “printRes” outputs a formatted listing of one Result object. The three argument of the
method are an output stream, a title name for the listing and the Result object to be
printed.
- “printGrp” outputs a summary of information on a Group. The three argument of the
method are an output stream, a title name for the listing and the Group object.
- “printDbResList” outputs a listing with the characteristics of all the Results stored in a
DataBase object. The two arguments are an output stream and a DataBase object.
- “printDbGrpList” outputs a listing with the characteristics of all the Groups stored in a
DataBase object. The two arguments are an output stream and a DataBase object.