README.rdoc

Path: README.rdoc
Last Update: Fri Aug 18 00:01:13 PDT 2006

NGSLib

A collection of random interesting (to us) classes. currently, the following classes exist:

Classes

RFile:an Enumerable sparse file class with some basic line based access to the file. Most Enumerable functions are available.
YAMLConfig:A configuration object, that uses a basic yaml file to create methods on itself so that conf.servername syntax may be used. Most Enumerable functions are available. The keys are settable, and you may write a new config, and reload the file and methods.
SimpleConfig:A class for loading simple key/value dictionary configurations. The file format is very simple and was originally written to work with HLDS/Quake server cvar configuration files:

key value

Any number of spaces will work between the key and the value. If the right side value contains quotes, it will preserve them.

CSVParser:An enumerating, streaming CSV parser that has ORM-like features.
Job:Job is a simplistic, atomic job processor that works off of the filesystem to get its list of tasks. It executes these tasks in order of time, oldest first. Each task is named and assigned a procedure to execute when it is encountered, but named tasks do not necessarily require execution at any point.
SVNUtils:Uses the svn Id Keyword expansion to report svn file information: revision, developer, filename, date and time of last revision.

Authors

  • Christopher Maujean
  • Erik Hollensbe

See

Project Homepage: rubyforge.org/projects/ngslib/

License

Copyright © 2006, Christopher Maujean, Erik Hollensbe and project contributors

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  • Neither the name of NGSLib nor the names of its contributors and subprojects may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

[Validate]