Class Pathname
In: lib/more/facets/pathname.rb
Parent: Object

Methods

/   []   empty?   glob   glob_first   home   null   outofdate?   root   rootname   split_root   uptodate?   work  

External Aliases

+ -> /
  Try to get this into standard Pathname class.

Public Class methods

Active path separator.

  p1 = Pathname.new('/')
  p2 = p1 / 'usr' / 'share'   #=> Pathname:/usr/share

Alternate to Pathname#new.

  Pathname['/usr/share']

Home constant for building paths from root directory onward.

TODO: Pathname#home needs to be more robust.

Platform dependent null device.

Root constant for building paths from root directory onward.

Work constant for building paths from root directory onward.

Public Instance methods

[Validate]