Class Ixp::Node
In: fs.rb
Parent: Object

An entry in the IXP file system.

Methods

[]   []=   basename   create!   directory?   dirname   exist?   file?   method_missing   new   open   read   remove!   write!  

Attributes

path  [R] 

Public Class methods

Obtains the IXP node at the given path. Unless it already exists, the given path is created when aCreateIt is asserted.

Public Instance methods

Accesses the given sub-path and dereferences it (reads its contents) if specified.

Writes the given content to the given sub-path.

Returns the basename of this file’s path.

Creates this node.

Tests if this node is a directory.

Returns the dirname of this file’s path.

Tests if this node exists in the file system.

Tests if this node is a file.

Open this node for IO operation.

Returns the contents of this node or the names of all entries if this is a directory.

Deletes this node.

Writes the given content to this node.

[Validate]