Hi,

I am concerned about hierarchy. In each class I hold methods relating
to a specific HTML page. However, each HTML page does not inherit
another by nature. My dilemma is should I inherit through a sequence
of actions (i.e. a use-case)? A use-case is not OO.

Login => Main_Page => Submit_Page etc

Should I say:

class Main_Page < Login

Because in the test script the login is an antecedent to the main
page.

class Submit_Page < Main_Page

Thanks

Aidy
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to