From: Trevoke Date: 2009-07-23T02:37:24+09:00 Subject: Re: Instantiating classes / sharing data between classes On Jul 22, 12:39 pm, Jason Roelofs wrote: > Sounds like another class, Modalities. Could be a singleton, so each doctor > can do > > Modalities.get  #=> ['US', 'CR', 'CT', 'MR'] > > and inside this class is where the database querying happens. Doctors > shouldn't care where it comes from, just that it exists. > > Jason > Yeah.. You're right, it really should be another class. I shouldn't sacrifice clarity of code for expedience's sake.