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

Methods

add   match   new  

Public Class methods

[Source]

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

Public Instance methods

[Source]

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

[Source]

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

[Validate]