Sha256: 8375242fd30358b1ff59a45942208e60fa1ab6a40d2fb418417d09657a8d7a3f

Contents?: true

Size: 248 Bytes

Versions: 11

Compression:

Stored size: 248 Bytes

Contents

module DRbQS
  module ACLFile

    # Create ACL object from file.
    # The example of file is the following:
    # deny all
    # allow localhost
    # allow 127.0.0.1
    def self.load(path)
      ACL.new(File.read(path).split)
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
drbqs-0.0.13 lib/drbqs/acl_file.rb
drbqs-0.0.12 lib/drbqs/acl_file.rb
drbqs-0.0.11 lib/drbqs/acl_file.rb
drbqs-0.0.10 lib/drbqs/acl_file.rb
drbqs-0.0.9 lib/drbqs/acl_file.rb
drbqs-0.0.8 lib/drbqs/acl_file.rb
drbqs-0.0.7 lib/drbqs/acl_file.rb
drbqs-0.0.6 lib/drbqs/acl_file.rb
drbqs-0.0.5 lib/drbqs/acl_file.rb
drbqs-0.0.4 lib/drbqs/acl_file.rb
drbqs-0.0.3 lib/drbqs/acl_file.rb