This is a basic environment for writing and debugging raw Ruby. It's meant to foster rapid experimentation, with the expectation that those changes will be discarded.
Included is irb, byebug, and minitest.
Also included is an example.rb and example_test.rb
- Set up dependencies with
bin/install
- Add debug breakpoints with
byebug(mustrequire "byebug") - Run an interactive ruby shell with
irbin the terminal.- load a file in irb with
irb -r ./path/to/ruby/file
- load a file in irb with
require "minitest/autorun"- Inherit from
Minitest::Test - Run tests with
bin/test ./path/to/test.rb