Table of Contents Previous Next
Logo
Client-Side Slice-to-Ruby Mapping : 22.5 The Ice Module
Copyright © 2003-2008 ZeroC, Inc.

22.5 The Ice Module

All of the APIs for the Ice run time are nested in the Ice module, to avoid clashes with definitions for other libraries or applications. Some of the contents of the Ice module are generated from Slice definitions; other parts of the Ice module provide special-purpose definitions that do not have a corresponding Slice definition. We will incrementally cover the contents of the Ice module throughout the remainder of the book.
A Ruby application can load the Ice run time using the require statement:
require 'Ice'
If the statement executes without error, the Ice run time is loaded and available for use. You can determine the version of the Ice run time you have just loaded by calling the version function:
icever = Ice::version()
Table of Contents Previous Next
Logo