flock « File Directory « Ruby






1.flock (locking_constant) Locks or unlocks afile according to locking_constant.