Sha256: 01bfd73c4e84d0baddb5abe9626b371e820caf6c54f4bef1fd30949eac8b7fef
Contents?: true
Size: 266 Bytes
Versions: 122
Compression:
Stored size: 266 Bytes
Contents
module Vagrant module Util class FileMode # This returns the file permissions as a string from # an octal number. def self.from_octal(octal) perms = sprintf("%o", octal) perms.reverse[0..2].reverse end end end end
Version data entries
122 entries across 115 versions & 18 rubygems