Valentino Lun wrote:
> Each module SX3, SX4, SX5 will have these classes. How do I implement 
> this?
> 

Hmm... why the modules?

Could you address the connection issue with just

class RemoteSX3Model
  self.establish_connection sx3_hash
end

or is there more to the modules than we've seen?

But MaD's correct, taking time to read through something on OO design 
and programming would be a good investment for you. First generic OOP, 
then take a look at Ruby, and how it handles OO.
-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to