From: Marcelo Barbudas Date: 2009-05-04T01:08:44+09:00 Subject: modules and classes question Hi, This is a serious noob question. I am trying to write a small library and have the following situation: class Main //initializes connection def request(blabla) end end class Resource < Main //different API calls def call //bla bla request(call) end end I would like to let the user do something like the AWS library: Library::Main.initialize_connection(data) // initializes everything and then just: Library::Resource.method // and this should work In Main I have the function that fills the data, I just don't know how to implement the Resource class. -- M.