Another thing I considered is inheritance. If I do
class Scraper < RushingOffenses then the RushingOffenses class located in the rushing_offense.rb model would inherit it. Then I could possibly put the following in my rake task: offensive_rushing = RushingOffense::Scraper.new However, I would want Scraper to be a part of every statistical class I create. So, it would have to be a member of: RushingOffense PassingOffense ScoringOffense etc... How would I force inheritance across multiple classes? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

