https://github.com/rubinius/rubinius-core-api
An implementation of the core Rubinius API for other rubies
https://github.com/rubinius/rubinius-core-api
Last synced: 5 months ago
JSON representation
An implementation of the core Rubinius API for other rubies
- Host: GitHub
- URL: https://github.com/rubinius/rubinius-core-api
- Owner: rubinius
- License: bsd-3-clause
- Created: 2011-06-15T22:04:24.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2012-12-11T19:42:13.000Z (about 13 years ago)
- Last Synced: 2025-04-12T12:57:51.600Z (8 months ago)
- Language: Java
- Homepage:
- Size: 117 KB
- Stars: 18
- Watchers: 47
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.txt
- License: LICENSE
Awesome Lists containing this project
README
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.