gem.sh gem.sh
Home Gems Types Docs Community
  • Modules

    • module IRB
    • module IRB::Color
    • module IRB::Command
    • module IRB::Command::RubyArgsExtractor
    • module IRB::Debug
    • module IRB::Debug::SkipPathHelperForIRB
    • module IRB::ExtendCommandBundle
    • module IRB::HelperMethod
    • module IRB::HelpersContainer
    • module IRB::History
    • module IRB::HistorySavingAbility
    • module IRB::InputCompletor
    • module IRB::IrbLoader
    • module IRB::NestingParser
    • module IRB::Notifier
  • Classes

    • class Binding
    • class IRB::Abort
    • class IRB::BaseCompletor
    • class IRB::CallTracer
    • class IRB::CantChangeBinding
    • class IRB::CantReturnToNormalMode
    • class IRB::Canvas
    • class IRB::Color::SymbolState
    • class IRB::ColorPrinter
    • class IRB::Command::Backtrace
    • class IRB::Command::Base
    • class IRB::Command::Break
    • class IRB::Command::CD
    • class IRB::Command::Catch
    • class IRB::Command::ChangeWorkspace
    • class IRB::Command::CommandArgumentError
    • class IRB::Command::Context
    • class IRB::Command::Continue
    • class IRB::Command::Copy
    • class IRB::Command::CurrentWorkingWorkspace
    • class IRB::Command::Debug
    • class IRB::Command::DebugCommand
    • class IRB::Command::Delete
    • class IRB::Command::DisableIrb
    • class IRB::Command::Edit
    • class IRB::Command::Exit
    • class IRB::Command::Finish
    • class IRB::Command::ForceExit
    • class IRB::Command::Foreground
    • class IRB::Command::Help
    • class IRB::Command::History
    • class IRB::Command::Info
    • class IRB::Command::IrbCommand
    • class IRB::Command::IrbInfo
    • class IRB::Command::Jobs
    • class IRB::Command::Kill
    • class IRB::Command::Load
    • class IRB::Command::LoaderCommand
    • class IRB::Command::Ls
    • class IRB::Command::Ls::EvaluationError
    • class IRB::Command::Ls::Output
    • class IRB::Command::Measure
    • class IRB::Command::MultiIRBCommand
    • class IRB::Command::Next
    • class IRB::Command::PopWorkspace
    • class IRB::Command::PushWorkspace
    • class IRB::Command::Require
    • class IRB::Command::ShowDoc
    • class IRB::Command::ShowSource
    • class IRB::Command::Source
    • class IRB::Command::Step
    • class IRB::Command::Whereami
    • class IRB::Command::Workspaces
    • class IRB::Context
    • class IRB::Debug::UI
    • class IRB::EvalHistory
    • class IRB::FileInputMethod
    • class IRB::Frame
    • class IRB::Frame::FrameOverflow
    • class IRB::Frame::FrameUnderflow
    • class IRB::HelperMethod::Base
    • class IRB::HelperMethod::Conf
    • class IRB::IllegalParameter
    • class IRB::InputMethod
    • class IRB::Inspector
    • class IRB::Irb
    • class IRB::IrbAlreadyDead
    • class IRB::IrbSwitchedToCurrentThread
    • class IRB::JobManager
    • class IRB::LoadAbort
    • class IRB::Locale
    • class IRB::NoSuchJob
    • class IRB::Notifier::AbstractNotifier
    • class IRB::Notifier::CompositeNotifier
    • class IRB::Notifier::ErrUndefinedNotifier
    • class IRB::Notifier::ErrUnrecognizedLevel
    • class IRB::Notifier::LeveledNotifier
    • class IRB::Notifier::NoMsgNotifier
    • class IRB::OutputMethod
    • class IRB::Pager
    • class IRB::Pager::PageOverflowIO
    • class IRB::ReadlineInputMethod
    • class IRB::RegexpCompletor
    • class IRB::ReidlineInputMethod
    • class IRB::RelineInputMethod
    • class IRB::RubyLex
    • class IRB::RubyLex::TerminateLineInput
    • class IRB::RubyModel
    • class IRB::SourceFinder
    • class IRB::SourceFinder::EvaluationError
    • class IRB::SourceFinder::Source
    • class IRB::Statement
    • class IRB::Statement::Command
    • class IRB::Statement::EmptyInput
    • class IRB::Statement::Expression
    • class IRB::Statement::IncorrectAlias
    • class IRB::StdioInputMethod
    • class IRB::StdioOutputMethod
    • class IRB::TypeCompletor
    • class IRB::UndefinedPromptMode
    • class IRB::UnrecognizedSwitch
    • class IRB::Vec
    • class IRB::WorkSpace
    • class Object
    • class XMP
    • class XMP::StringInputMethod
    Overview
    H
    Home
    R
    Reference
    T
    Types
    C
    Changelogs
  • Documentation
    • README
    • Command line options
    • Compared with pry
    • Configurations
    • Extend irb
    • Index
  • More
    • Versions
    • Source
    • Playground
    • Stats
    • Metadata
    • Wiki
    • Announcements
    Community
    • Articles
    • Tutorials
    • Videos
    • Community
  1. Gems
  2. irb

irb

Interactive Ruby command-line tool for REPL (Read Eval Print Loop).

Types
Docs
Guides
Zeitwerk
Namespace
Optimized

Version

1.16.0

Authors

aycabta and Keiju ISHITSUKA

Dependencies

reline, rdoc, pp

Quick Start

bundle add irb

Getting Started

Learn more about the Irb gem.

Installation

Learn more about how to install and configure the gem

Documentation

Learn more about the details

Guides

Learn more about the gem in the written guides

Reference

Learn more about the classes and modules

Documentation

doc/COMMAND_LINE_OPTIONS.md

Read about "Command line options" in irb

Read more

doc/COMPARED_WITH_PRY.md

Read about "Compared with pry" in irb

Read more

doc/Configurations.md

Read about "Configurations" in irb

Read more

doc/EXTEND_IRB.md

Read about "Extend irb" in irb

Read more

Playground

Test, play and inspect the gem for yourself

irb(main):001:0>

            

Playground

Run a Ruby playground with the irb gem pre-installed

Play

Top-Level Modules

  • IRB

Top-Level Classes

  • Binding
  • Object
  • XMP

Top-Level Instance Methods

  • # xmp
Home
Gems
Docs
Contribute
Monitoring
Twitter GitHub Mastodon

© 2026 gem.sh - Beautiful documentation for any Ruby gem