Lines Matching refs:list
17 # list = %w[
30 # acl = ACL.new(list, ACL::DENY_ALLOW)
72 list = str.split('.').collect { |s|
75 list.join("\\.")
114 # A list of ACLEntry objects. Used to implement the allow and deny halves
123 @list = []
129 # Matches +addr+ against each ACLEntry in this list.
132 @list.each do |e|
141 # Adds +str+ as an ACLEntry in this list
144 @list.push(ACLEntry.new(str))
160 # Creates a new ACL from +list+ with an evaluation +order+ of DENY_ALLOW or
163 # An ACL +list+ is an Array of "allow" or "deny" and an address or address
172 def initialize(list=nil, order = DENY_ALLOW)
176 install_list(list) if list
214 # Adds +list+ of ACL entries to this ACL.
216 def install_list(list)
218 while i < list.size
219 permission, domain = list.slice(i,2)
226 raise "Invalid ACL entry #{list.to_s}"
236 list = %w(deny all
247 acl = ACL.new(list, ACL::DENY_ALLOW)