The C API defines how code written in C can interact with a Ruby interpreter.

This page and its subpages describe the functions, types and macros that Ruby 1.9 provides. It is based on what becomes visible to a source file that includes ruby.h. The subpages describe the functions that relate to each type of Ruby object.

This is a work in progress and is by no means complete.

Creating and manipulating Ruby objectsEdit


Boolean values

Classes and Modules