Creates a newACL
from list with an evaluation order of DENY_ALLOW or
ALLOW_DENY.
An ACLlist is an Array of “allow” or “deny” and an address or
address mask or “all” or “*” to match any address:
%w[
deny all
allow 192.0.2.2
allow 192.0.2.128/26
]
# File lib/drb/acl.rb, line 179
def initialize(list=nil, order = DENY_ALLOW)
@order = order
@deny = ACLList.new
@allow = ACLList.new
install_list(list) if list
end