1 2 3 4 5 6 7 8 9
require 'ffi-xattr/extensions/file' class Pathname # Returns an Xattr object. # See File.xattr. def xattr File.xattr(self) end end