Documents

Technical documentation

Core Class Changes: Enumerable
Enumerable#zip * Each argument uses _to_ary_ instead of _to_a_ for duck typing purposes.
02/24/2008 12:45 AM

Supported Platforms and Compilers
Sapphire is supported on the following platforms only: * Solaris 8 (2.8) or later * Windows 2000 or later * Linux 2.6 or later Sapphire should be built with the following compilers only: * Microsoft Visual C++ 8 or later * Sun Studio C...
02/24/2008 10:39 AM

Advantages of C99
Using C99 provides the following features: * inline functions * variable declaration no longer restricted to file scope or the start of a compound statement * several new data types, including long long int, optional extended integer types...
02/24/2008 02:42 PM

Core Class Changes: Array
*General Overview* * Removed the block form of any method where I felt that the block was nothing more than a way to avoid a call to Enumerable#map. *Specific Methods* Array#== * Fixed a bug where it was not honoring custom _to_ary_ meth...
02/24/2008 12:07 AM

Core Class Changes: Hash
*General Changes* * Removed some redundant and/or unnecessary code. * TODO: Add support for hash slices. *Specific Changes* Hash#[] * TODO: Add support for hash slices. Hash#[]= * TODO: Add support for hash slices. Hash#clear ...
02/24/2008 08:16 AM

Core Class Changes: Range
Range#member? * Removed. The Range#=== and Range#include? methods are enough.
02/24/2008 07:48 PM

Core Class Changes: Time
*Specific Changes* * Time#gmtime is now Time#gmtime! * Time#getgm is now Time#gmtime * Time#localtime is now Time#localtime! * Time#getlocal is now Time#localtime * Removed the Time#gmtoff alias.
02/24/2008 07:39 PM

Standard Library Changes: Test::Unit
* Added startup and shutdown methods to the TestSuite class. These run once at the beginning and end of each test suite.
03/06/2008 07:23 PM

Standard Library Changes: Summary
h2. Added Libraries * rake - Incredibly useful * sys-admin - Cross platform replacement for the Etc module * win32-api - Replaces Win32API h2. Modified Libraries * test-unit - Added startup and shutdown methods to the TestSuite cla...
03/06/2008 07:38 PM

Miscellaneous Changes: ENV
h2. General Overview The MRI implementation of the ENV is bizarre. It is a custom object that implements a large set of the Hash instance methods, but it is not Hash object. The Sapphire implementation will make it a special instance of Hash...
03/07/2008 02:43 AM