195: def allowed?(name, ip, args = {})
196: return :dunno if acl_type == :regex and not @methods.include?(args[:method])
197: return :dunno if acl_type == :regex and @environment.size > 0 and not @environment.include?(args[:environment])
198: return :dunno if acl_type == :regex and not @authentication.nil? and args[:authenticated] != @authentication
199:
200: begin
201:
202: interpolate(args[:match]) if acl_type == :regex and args[:match]
203: res = super(name,ip)
204: ensure
205: reset_interpolation if acl_type == :regex
206: end
207: res
208: end