I have a the following

Class Usertype

   def add(a,b)
    return a + b
   end
end

and another class called Profession.

Class Profession
def users
end

end

What I want to be able to do is,in profession object, add a method
called "users"(shown above) which will return an instance of that
usertype util object?

Then if p1 = Usertype.new
I should be able to access add by using p1.users.add(a,b)

Is this possible?

-- 
Posted via http://www.ruby-forum.com/.