Bret Pettichord
Thu, 12 Jul 2007 06:15:28 -0700
aidy lewis wrote: > 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 > I see no reason to do this. _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
- [Wtr-general] OO framework? aidy lewis
- Re: [Wtr-general] OO framework? Richard Conroy
- Re: [Wtr-general] OO framework? aidy lewis
Re: [Wtr-general] OO framework? Bret Pettichord