Flowdock
install_list(list) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/drb/acl.rb, line 113
  def install_list(list)
    i = 0
    while i < list.size
      permission, domain = list.slice(i,2)
      case permission.downcase
      when 'allow'
        @allow.add(domain)
      when 'deny'
        @deny.add(domain)
      else
        raise "Invalid ACL entry #{list.to_s}"
      end
      i += 2
    end
  end
Register or log in to add new notes.