Class Hike::Paths
In: lib/hike/paths.rb
Parent: NormalizedArray

`Paths` is an internal collection for tracking path strings.

Methods

Public Class methods

Public Instance methods

Relative paths added to this array are expanded relative to `@root`.

    paths = Paths.new("/usr/local")
    paths << "tmp"
    paths << "/tmp"

    paths
    # => ["/usr/local/tmp", "/tmp"]

[Validate]