new

new(list=nil, order = DENY_ALLOW)
Class Public methods

Creates a new ACL from list with an evaluation order of DENY_ALLOW or ALLOW_DENY.

An ACL list is an Array of âallowâ or âdenyâ and an address or address mask or âallâ or â*â to match any address:

%w[
  deny all
  allow 192.0.2.2
  allow 192.0.2.128/26
]
doc_ruby_on_rails
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.