module DRbQS::Server::ACLFile
Public Class Methods
load(path)
click to toggle source
Create ACL object from file. @example Deny hosts except for localhost
deny all allow localhost allow 127.0.0.1
# File lib/drbqs/server/acl_file.rb, line 10 def self.load(path) ACL.new(File.read(path).split) end