Skip to main content

IRB Support for the Ruby SDKs

· One min read

We have added support for exploring the Ruby SDK interactively using IRB (Interactive Ruby).

Details​

The SDK now supports interactive exploration using IRB, allowing developers to experiment and test features directly in a console. Users can either use IRB with the installed gem or start a preconfigured IRB console within the SDK, making it easier to explore and work with the SDK in an interactive environment.

What's New?​

You can explore the SDK interactively using IRB in two ways:

1. Use IRB with Installed Gem​

Open your system terminal (Command Prompt, Git Bash, or macOS Terminal) and start the IRB console:

irb

Then, load the SDK in IRB:

require 'sdk_client'
include SdkClient

2. Use IRB within SDK​

Open your system terminal and navigate to the root folder of the SDK:

cd path/to/sdk

Start the preconfigured IRB console:

ruby bin/console

Note: This automatically loads the SDK from lib/.