Forum: Ruby Best way to arrange a large lib

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
A049c3597983fdaaa2af2b0010c49abc?d=identicon&s=25 Tim Perrett (timperrett)
on 2007-07-10 17:55
Hey guys

I have a large(ish) web service that im talking to in several
applications and thought it would be best to then organise it into a
re-usable library. I am using wsdl2ruby to generate my class stubs, but
that means that I have 3 rb files for each service (of which there are
quite a number)

So my plan of action was to then put everything into neatly ordered
structure, so I could then just call a nice require 'path/to/service' to
use it? As they will all be grouped into the appropriate modules

Is that a sensible thing to do? If not what would be a good plan of


This topic is locked and can not be replied to.