Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
An implementation of the core Rubinius API for other rubies
Java Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/rubinius typo in code
src/org/jruby/ext/rubinius Initial version of rubinius-core-api JRuby support.
LICENSE Add license
README.txt Initial version of rubinius-core-api JRuby support.
Rakefile Initial pass at getting default pure-Ruby versions working.
rubinius-core-api.gemspec Add license


This is an attempt to provide some of Rubinius's additional core classes on
other implementations.

Rubinius has all the normal Ruby classes, but to support implementing them
mostly in Ruby, they have added a number of other support classes. This
library hopes to implement those additional support classes for other Ruby
implementations, so they their utility can be shared across implementations.

Currently, only the following classes are implemented, and only on JRuby:

Rubinius::ByteArray - a fixed-size array of bytes
Rubinius::Channel - a low-level synchronization mechanism
Rubinius::EnvironmentAccess - env variable support
Rubinius::Tuple - a fixed-size array of object references
Rubinius::Type - utilities for type conversions

In addition, some utility methods added to Thread for recursive guards and
Kernel::StringValue are also implemented.

More APIs will be added over time.
Something went wrong with that request. Please try again.