Class: File

Inherits:
Object
  • Object
show all
Defined in:
lib/acl/acl.rb

Instance Method Summary collapse

Instance Method Details

#aclObject



4
5
6
# File 'lib/acl/acl.rb', line 4

def acl
  ACL.from_file(fileno)
end

#acl=(acl) ⇒ Object



12
13
14
# File 'lib/acl/acl.rb', line 12

def acl=(acl)
  acl.set_file(fileno)
end

#default_aclObject



8
9
10
# File 'lib/acl/acl.rb', line 8

def default_acl
  ACL.default(fileno)
end

#default_acl=(acl) ⇒ Object



16
17
18
# File 'lib/acl/acl.rb', line 16

def default_acl=(acl)
  acl.set_default(fileno)
end