A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.ruby-lang.org/en/master/contributing/making_changes_to_stdlibs_md.html below:

making_changes_to_stdlibs - Documentation for Ruby 3.5

Making Changes To Standard Libraries

Everything in the lib directory is mirrored from a standalone repository into the Ruby repository. If you’d like to make contributions to standard libraries, do so in the standalone repositories, and the changes will be automatically mirrored into the Ruby repository.

For example, CSV lives in a separate repository and is mirrored into Ruby.

Maintainers

You can find the list of maintainers here.

Build

First, install its dependencies using:

bundle install
Libraries with C-extension

If the library has a /ext directory, it has C files that you need to compile with:

bundle exec rake compile
Running tests

All standard libraries use test-unit as the test framework.

To run all tests:

bundle exec rake test

To run a single test file:

bundle exec rake test TEST="test/test_foo.rb"

To run a single test case:

bundle exec rake test TEST="test/test_foo.rb" TESTOPS="--name=/test_mytest/"

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4