# File lib/rfuse.rb, line 11 def self.packxattr(xattrs) case xattrs when Array xattrs.join("\000").concat("\000") when String #assume already \0 separated list of keys xattrs else raise Error, ":listxattr must return Array or String, got #{xattrs.inspect}" end end