Module: DRbQS::ACLFile
- Defined in:
- lib/drbqs/acl_file.rb
Class Method Summary collapse
-
.load(path) ⇒ Object
Create ACL object from file.
Class Method Details
.load(path) ⇒ Object
Create ACL object from file. The example of file is the following: deny all allow localhost allow 127.0.0.1
9 10 11 |
# File 'lib/drbqs/acl_file.rb', line 9 def self.load(path) ACL.new(File.read(path).split) end |