123456789_123456789_123456789_123456789_123456789_

Ruby master dev 2024-12-21 Core & Standard Library

Standard Library Summary

abbrev
base64
benchmark
bigdecimal
bundler
cgi
coverage
csv
date
debug
delegate
did_you_mean
digest
drb
English
erb
etc
fcntl
fiddle
fileutils
find
forwardable
getoptlong
io/console
io/nonblock
io/wait
ipaddr
irb
json
logger
matrix
minitest
mkmf
monitor
mutex_m
net-ftp
net-imap
net-pop
net-smtp
net/http
net/proto
nkf
objspace
observer
open-uri
open3
openssl
optparse
ostruct
pathname
power_assert
pp
prettyprint
prime
prism
pstore
psych
pty
racc
racc
rake
rbs
rdoc
reline
repl_type_completor
resolv
resolv-replace
rexml
rinda
ripper
rss
rubygems
securerandom
set
shellwords
singleton
socket
stringio
strscan
syntax_suggest
tempfile
test-unit
time
timeout
tmpdir
tsort
typeprof
un
unicode_normalize
uri
weakref
win32
win32ole
yaml
yaml/dbm
yaml/store
zlib

Standard Library Detail

requiremain classlib/ext

abbrev

Abbrevgem
Calculates a set of unique abbreviations for a given set of strings.

base64

Base64gem
Support for encoding and decoding binary data using a Base64 representation.

benchmark

Benchmarklib
Provides methods to measure and report the time used to execute code

bigdecimal

BigDecimalgem
Arbitrary-precision decimal floating-point number library for Ruby.

bundler

Bundlerlib
The best way to manage your application's dependencies

cgi

CGIext
Support for the Common Gateway Interface protocol

coverage

Coverageext
Provides coverage measurement for Ruby

csv

CSVgem
CSV Reading and Writing

date

Dateext
A subclass of Object includes Comparable module for handling dates

debug

DEBUG__gem
Debugging functionality for Ruby

delegate

Delegatorlib
Provides three abilities to delegate method calls to an object

did_you_mean

DidYouMeanlib
The gem that has been saving people from typos since 2014.

digest

Digestext
Provides a framework for message digest libraries

drb

DRbgem
Distributed object system for Ruby.

English

Englishlib
Require 'English.rb' to reference global variables with less cryptic names

erb

ERBext
An easy to use but powerful templating system for Ruby

etc

Etcext
Provides access to information typically stored in UNIX /etc directory

fcntl

Fcntlext
Loads constants defined in the OS fcntl.h C header file

fiddle

Fiddleext
A libffi wrapper for Ruby

fileutils

FileUtilslib
Several file utility methods for copying, moving, removing, etc

find

Findlib
This module supports top-down traversal of a set of file paths

forwardable

Forwardablelib
Provides delegation of specified methods to a designated object

getoptlong

GetoptLonggem
GetoptLong for Ruby

io/console

IOext
Extension for Ruby IO class, .console

io/nonblock

IOext
Extension for Ruby IO class, #nonblock & #nonblock=

io/wait

IOext
Extension for Ruby IO class, #wait_readable & #wait_writable

ipaddr

IPAddrlib
Provides methods to manipulate IPv4 and IPv6 IP addresses

irb

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

json

JSONext
Implements Javascript Object Notation for Ruby

logger

Loggerlib
Provides a simple logging utility for outputing messages

matrix

Matrixgem
Represents a mathematical matrix.

minitest

gem
minitest provides a complete suite of testing facilities supporting TDD, BDD, mocking, and benchmarking.

mkmf

MakeMakefilelib
Module used to generate a Makefile for C extensions

monitor

Monitorext
Provides an object or module to use safely by more than one thread

mutex_m

Mutex_mgem
Mixin to extend objects to be handled like a Mutex

net-ftp

Net::FTPgem
File Transfer Protocol

net-imap

Net::IMAPgem
Internet Message Access Protocol

net-pop

Net::POP3gem
Post Office Protocol

net-smtp

Net::SMTPgem
Simple Mail Transfer Protocol

net/http

Net::HTTPlib
Hypertext Transfer Protocol

net/proto

Net::Protocollib
Internal Protocol Class

nkf

NKFgem
Ruby extension for Network Kanji Filter.

objspace

ObjectSpaceext
Extends ObjectSpace module to add methods for internal statistics

observer

Observablegem
Implementation of the Observer object-oriented design pattern.

open-uri

OpenURIlib
An easy-to-use wrapper for Net::HTTP, Net::HTTPS and Net::FTP

open3

Open3lib
Provides access to stdin, stdout and stderr when running other programs

openssl

OpenSSLext
Provides SSL, TSL and general purpose cryptography for Ruby

optparse

OptionParserlib
Ruby-oriented class for command-line option analysis

ostruct

OpenStructlib
Class to build custom data structures, similar to a Hash

pathname

Pathnameext
Representation of the name of a file or directory on the filesystem

power_assert

PowerAssertgem
Power Assert shows each value of variables and method calls in the expression.

pp

PPlib
Provides a PrettyPrinter for Ruby objects

prettyprint

PrettyPrintlib
Implements a pretty printing algorithm for readable structure

prime

Primegem
Prime numbers and factorization library.

prism

Prismlib
Prism Ruby parser

pstore

PStorelib
Implements a file based persistence mechanism based on a Hash

psych

Psychext
A YAML parser and emitter for Ruby

pty

PTYext
Creates and manages pseudo terminals

racc

Raccgem
Racc is a LALR(1) parser generator

racc

Raccgem
 

rake

Rakegem
Rake is a Make-like program implemented in Ruby.

rbs

RBSgem
Type signature for Ruby

rdoc

RDoclib
Produces HTML and command-line documentation for Ruby

reline

Relinelib
A pure Ruby implementation of Readline / Editline

repl_type_completor

ReplTypeCompletorgem
Type based completion for REPL.

resolv

Resolvlib
Thread-aware DNS resolver library in Ruby

resolv-replace

gem
Replace Socket DNS with Resolv.

rexml

REXMLgem
An XML toolkit for Ruby

rinda

Rindagem
The Linda distributed computing paradigm in Ruby.

ripper

Ripperext
Provides an interface for parsing Ruby programs into S-expressions

rss

RSSgem
Family of libraries that support various formats of XML feeds

rubygems

Gemlib
Package management framework for Ruby

securerandom

SecureRandomlib
Interface for secure random number generator

set

Setlib
Provides a class to deal with collections of unordered, unique values

shellwords

Shellwordslib
Manipulates strings with word parsing rules of UNIX Bourne shell

singleton

Singletonlib
Implementation of the Singleton pattern for Ruby

socket

Socketext
Access underlying OS socket implementations

stringio

StringIOext
Pseudo I/O on String objects

strscan

StringScannerext
Provides lexical scanning operations on a String

syntax_suggest

SyntaxSuggestlib
Find syntax errors in your source in a snap

tempfile

Tempfilelib
A utility class for managing temporary files

test-unit

Test::Unitgem
test-unit (Test::Unit) is unit testing framework for Ruby, based on xUnit principles. It allows writing tests, checking results and automated testing in Ruby.

time

Timelib
Extends the Time class with methods for parsing and conversion

timeout

Timeoutlib
Auto-terminate potentially long-running operations in Ruby

tmpdir

Dirlib
Extends the Dir class to manage the OS temporary file path

tsort

TSortlib
Topological sorting using Tarjan's algorithm

typeprof

TypeProfgem
An experimental type-level Ruby interpreter for testing and understanding Ruby code.

un

lib
Utilities to replace common UNIX commands

unicode_normalize

UnicodeNormalizelib
Provides three String 'unicode_normalize' methods

uri

URIlib
A Ruby module providing support for Uniform Resource Identifiers

weakref

WeakReflib
Allows a referenced object to be garbage-collected

win32

ext
Win32 Registry, SSPI (Security Support Provider Interface)

win32ole

WIN32OLEext
Provides an interface for OLE Automation in Ruby

yaml

YAMLlib
Ruby client library for the Psych YAML implementation

yaml/dbm

YAML::DBMlib
YAML::DBM is a ::DBM type interface which allows YAML for values

yaml/store

YAML::Storelib
Store provides the same functionality as PStore, except it uses YAML to dump objects instead of Marshal.

zlib

Zlibext
Ruby interface for the zlib compression/decompression library