On Wed, 2002-10-23 at 23:58, Daniel Berger wrote:
> Michael Neumann wrote:
> 
> > On Wed, 2002-10-23 at 20:06, Daniel Berger wrote:
> > > Is there a way to use this without having to define my own subclass?  If so,
> > > can you please provide an example?
> >
> > Not in 1.7.12, but probably in 1.7.13:
> >
> > s = XMLRPC::Server(...)
> > s.set_valid_ip("192.168.1.5", "127.0.0.1", /^192\.168\.2\./)
> >
> > Is that what you need?
> 
> That would be awesome.  I'm hoping you'll allow arrays as well:
> 
> v = ["192.168.1.5","192.168.1.6"]
> s.set_valid_ip(v)

Yes:

  s.set_valid_ip(*v)

Regards,

  Michael