set_valid_ip(*ip_addr)
Specifies the valid IP addresses that are allowed to connect to the server.
Each IP is either a String or a Regexp.
# File lib/xmlrpc/server.rb, line 647 def set_valid_ip(*ip_addr) if ip_addr.size == 1 and ip_addr[0].nil? @valid_ip = nil else @valid_ip = ip_addr end end