This code is broken.
Why?
Because there''s no tests written for it.
Also, a Primary should be available to not only the DemocraticParty,
but also the RepublicanParty. This is due to the country being a
Democracy. Moving forth, the DemocraticParty should simply be called
"Democrat", as the RepublicanParty should also be called
"Republican".
Both of these classes should inherit from Party, as they both have the
same core setup. You should not be calling return in the
delegate_count method, since this will already return the last
evaluated statement.
Continuing, the module "ClintonRevisions" should actually be
"Revisions" with sub-modules of Clinton, Obama, Paul, and if necessary
Giuliani (although I''ve heard rumours these last two may be deprecated
in the future).
Glad to assist.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---