summaryrefslogtreecommitdiff
path: root/lib/ffi-xattr/extensions/pathname.rb
blob: c2ed11eb24a2fbfbc971a85505c8caefa64766fc (plain)
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