Class | TAXO::Ingredient |
In: |
icw_taxo.rb
|
Parent: | Object |
(({TAXO::Ingredient.attributes})) is an an auxiliary methode as well and allows in fact accessiing all attributes of the Ingredient.
(({TAXO::Ingredient.printVector(vector)})) is basically an auxiliary methode, which by printing out atributtes of the Ingredient helps to control assigned values.
(({TAXO ::clearAttributes})) clears vector values (stored into the class variables defined above) and weight them with the factor of 0.1.
(({TAXO::getClass(filename, ingredient)})) takes the ingredient name as well as the file name where taxonomy is stored and searchs for the according class of the ingredient. Was the search successfull true will be returned.