slice2rb(1)

slice2rb1

The slice to ruby compiler.

Usage

slice2rb [options] [files]

Overview

slice2rb compiles Slice files to Ruby. The macro __SLICE2RB__ is defined during this compilation.

Full documentation for slice2rb is available online at:
https://doc.zeroc.com/ice/3.7/language-mappings/ruby-mapping/client-side-slice-to-ruby-mapping/code-generation-in-ruby

Options

-h, --help

Displays a help message.

-v, --version

Displays the compiler version.

-DNAME

Defines the preprocessor symbol NAME.

-DNAME=DEF

Defines the preprocessor symbol NAME with the value DEF.

-UNAME

Undefines the preprocessor symbol NAME.

-IDIR

Add the directory DIR to the search path for #include directives.

-E

Print the preprocessor output on stdout.

--output-dir DIR

Place the generated files into directory DIR.

-d, --debug

Print debug information showing the operation of the Slice parser.

--depend

Print dependency information to standard output by default, or to the file specified by the --depend-file option. No code is generated when this option is specified.

--depend-xml

Print dependency information in XML format to standard output by default, or to the file specified by the --depend-file option. No code is generated when this option is specified.

--depend-file FILE

Directs dependency information to the specified file. The output format depends on whether --depend or --depend-xml is also specified.

--all

Generate code for all Slice definitions, including those from included files.

--checksum CLASS

Generate checksums for Slice definitions.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 5 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 10
  6. 11–Arch

--all since Debian 10 (Buster); --checksum since Debian 10 (Buster); --debug since Debian 10 (Buster); --depend since Debian 10 (Buster); --depend-file since Debian 10 (Buster); --depend-xml since Debian 10 (Buster); --help since Debian 10 (Buster); --output-dir since Debian 10 (Buster); --version since Debian 10 (Buster); -DNAME since Debian 10 (Buster); -E since Debian 10 (Buster); -IDIR since Debian 10 (Buster); -UNAME since Debian 10 (Buster); -d since Debian 10 (Buster); -h since Debian 10 (Buster); -v since Debian 10 (Buster).

From zeroc-ice 3.7.10-3 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.