Class ACL::ACLList
In: lib/drb/acl.rb
Parent: Object

Methods

add   match   new  

Public Class methods

[Source]

    # File lib/drb/acl.rb, line 63
63:     def initialize
64:       @list = []
65:     end

Public Instance methods

[Source]

    # File lib/drb/acl.rb, line 76
76:     def add(str)
77:       @list.push(ACLEntry.new(str))
78:     end

[Source]

    # File lib/drb/acl.rb, line 68
68:     def match(addr)
69:       @list.each do |e|
70:         return true if e.match(addr)
71:       end
72:       false
73:     end

[Validate]