new(list=nil, order = DENY_ALLOW)
  public
  
    
    
Creates a new ACL
from list with an evaluation order of DENY_ALLOW or
ALLOW_DENY.
An ACL list 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
]
   
  
    Show source    
    
      
  def initialize(list=nil, order = DENY_ALLOW)
    @order = order
    @deny = ACLList.new
    @allow = ACLList.new
    install_list(list) if list
  end