Class BuildMaster::Cotta
In: lib/buildmaster/cotta/cotta.rb
Parent: Object

The file factory of Cotta files that handles creation of the CottaFile and CottaDirectory instances. This class also can be used to start command lines

Methods

command_interface=   dir   dir   entry   environment   environment!   file   file   new   parent_dir   parent_of   pwd   shell   start  

Attributes

command_interface  [RW] 

Public Class methods

Creates a CottDirectory with the PhysicalSystem

DEPRECATED! Use parent_dir instead.

Public Instance methods

Creates the entry given a path. This will return either CottaFile or CottaDirectory depending by checking the path passed in, which means that if neither a directory nor a file exists with this name it will raise an error

Invoke the command line through the backing system

Starts the process. Unlike shell method, this method does not collect the output, thus suitable for starting a server in Ruby and leave it running for a long time

[Validate]