find

find() Instance Public methods Iterates over the directory tree in a depth first manner, yielding a Pathname for each file under âthisâ directory. Returns an Enumerator if no block is given. Since it is implemented by the standard library module Find, Find.prune can be used to control the traversal. If self is ., yielded pathnames begin with a filename in the current directory, not ./. See Find.find

fnmatch

pathname.fnmatch(pattern, [flags]) â stringpathname.fnmatch?(pattern, [flags]) â string Instance Public methods Return true if the receiver matches the given pattern. See File.fnmatch.

fnmatch?

pathname.fnmatch?(pattern, [flags]) â string Instance Public methods Return true if the receiver matches the given pattern. See File.fnmatch.

freeze

pathname.freeze â obj Instance Public methods Freezes this Pathname. See Object#freeze.

ftype

pathname.ftype â string Instance Public methods Returns âtypeâ of file (âfileâ, âdirectoryâ, etc). See File.ftype.

grpowned?

grpowned?() Instance Public methods See FileTest#grpowned?.

join

join(*args) Instance Public methods Joins the given pathnames onto self to create a new Pathname object. path0 = Pathname.new("/usr") # Pathname:/usr path0 = path0.join("bin/ruby") # Pathname:/usr/bin/ruby # is the same as path1 = Pathname.new("/usr") + "bin/ruby" # Pathname:/usr/bin/ruby path0 == path1 #=> true

lchmod

pathname.lchmod â integer Instance Public methods Same as #chmod, but does not follow symbolic links. See File.lchmod.

lchown

pathname.lchown â integer Instance Public methods Same as #chown, but does not follow symbolic links. See File.lchown.

lstat

lstat() Instance Public methods See File.lstat.