Module: Pa::State::InstanceMethods

Defined in:
lib/pa/state.rb

Instance Method Summary collapse

Instance Method Details

#chmod(mode) ⇒ Object



93
94
95
# File 'lib/pa/state.rb', line 93

def chmod(mode)
  File.chmod(mode, path) 
end

#chown(uid, gid = nil) ⇒ Object



101
102
103
# File 'lib/pa/state.rb', line 101

def chown(uid, gid=nil)
  File.chown(uid, gid, path) 
end

#lchmod(mode) ⇒ Object



97
98
99
# File 'lib/pa/state.rb', line 97

def lchmod(mode)
  File.lchmod(mode, path) 
end

#lchown(uid, gid = nil) ⇒ Object



105
106
107
# File 'lib/pa/state.rb', line 105

def lchown(uid, gid=nil)
  File.lchown(uid, gid, path) 
end

#utime(atime, mtime) ⇒ Object



109
110
111
# File 'lib/pa/state.rb', line 109

def utime(atime, mtime)
  File.utime(atime, mtime, path) 
end