method

allow_addr?

v1_9_2_180 - Show latest stable - Class: ACL
allow_addr?(addr)
public

No documentation available.

# File lib/drb/acl.rb, line 97
  def allow_addr?(addr)
    case @order
    when DENY_ALLOW
      return true if @allow.match(addr)
      return false if @deny.match(addr)
      return true
    when ALLOW_DENY
      return false if @deny.match(addr)
      return true if @allow.match(addr)
      return false
    else
      false
    end
  end