2013-02-04 15:20:23 -05:00
|
|
|
= Ruby Standard Library
|
|
|
|
|
|
|
|
The Ruby Standard Library is a vast collection of classes and modules that you
|
|
|
|
can require in your code for additional features.
|
|
|
|
|
|
|
|
Below is an overview of libraries and extensions followed by a brief
|
|
|
|
description.
|
|
|
|
|
|
|
|
== Libraries
|
|
|
|
|
|
|
|
Abbrev:: Calculates a set of unique abbreviations for a given set of strings
|
|
|
|
Base64:: Support for encoding and decoding binary data using a Base64 representation
|
|
|
|
DEBUGGER__:: Debugging functionality for Ruby
|
|
|
|
DRb:: Distributed object system for Ruby
|
|
|
|
English.rb:: Require 'English.rb' to reference global variables with less cryptic names
|
|
|
|
ERB:: An easy to use but powerful templating system for Ruby
|
|
|
|
Find:: This module supports top-down traversal of a set of file paths
|
|
|
|
MakeMakefile:: Module used to generate a Makefile for C extensions
|
|
|
|
Monitor:: Provides an object or module to use safely by more than one thread
|
|
|
|
Net::FTP:: Support for the File Transfer Protocol
|
|
|
|
Net::HTTP:: HTTP client api for Ruby
|
|
|
|
Net::IMAP:: Ruby client api for Internet Message Access Protocol
|
2016-01-30 22:16:40 -05:00
|
|
|
Observable:: Provides a mechanism for publish/subscribe pattern in Ruby
|
2013-02-04 15:20:23 -05:00
|
|
|
OpenURI:: An easy-to-use wrapper for Net::HTTP, Net::HTTPS and Net::FTP
|
|
|
|
OptionParser:: Ruby-oriented class for command-line option analysis
|
|
|
|
PP:: Provides a PrettyPrinter for Ruby objects
|
|
|
|
PrettyPrinter:: Implements a pretty printing algorithm for readable structure
|
|
|
|
RbConfig:: Information of your configure and build of Ruby
|
|
|
|
resolv-replace.rb:: Replace Socket DNS with Resolv
|
|
|
|
Resolv:: Thread-aware DNS resolver library in Ruby
|
|
|
|
Rinda:: The Linda distributed computing paradigm in Ruby
|
|
|
|
Gem:: Package management framework for Ruby
|
|
|
|
SecureRandom:: Interface for secure random number generator
|
|
|
|
Set:: Provides a class to deal with collections of unordered, unique values
|
|
|
|
Shellwords:: Manipulates strings with word parsing rules of UNIX Bourne shell
|
|
|
|
Tempfile:: A utility class for managing temporary files
|
|
|
|
Time:: Extends the Time class with methods for parsing and conversion
|
|
|
|
Timeout:: Auto-terminate potentially long-running operations in Ruby
|
|
|
|
tmpdir.rb:: Extends the Dir class to manage the OS temporary file path
|
|
|
|
TSort:: Topological sorting using Tarjan's algorithm
|
|
|
|
un.rb:: Utilities to replace common UNIX commands
|
|
|
|
URI:: A Ruby module providing support for Uniform Resource Identifiers
|
|
|
|
WeakRef:: Allows a referenced object to be garbage-collected
|
|
|
|
YAML:: Ruby client library for the Psych YAML implementation
|
|
|
|
|
|
|
|
== Extensions
|
|
|
|
|
|
|
|
Coverage:: Provides coverage measurement for Ruby
|
|
|
|
Digest:: Provides a framework for message digest libraries
|
|
|
|
IO:: Extensions for Ruby IO class, including #wait and ::console
|
|
|
|
NKF:: Ruby extension for Network Kanji Filter
|
|
|
|
objspace:: Extends ObjectSpace module to add methods for internal statistics
|
|
|
|
Pathname:: Representation of the name of a file or directory on the filesystem
|
|
|
|
PTY:: Creates and manages pseudo terminals
|
|
|
|
Readline:: Provides an interface for GNU Readline and Edit Line (libedit)
|
|
|
|
Ripper:: Provides an interface for parsing Ruby programs into S-expressions
|
|
|
|
Socket:: Access underlying OS socket implementations
|
|
|
|
Syslog:: Ruby interface for the POSIX system logging facility
|
|
|
|
WIN32OLE:: Provides an interface for OLE Automation in Ruby
|
2017-02-09 05:49:08 -05:00
|
|
|
|
|
|
|
= Default gems
|
|
|
|
|
|
|
|
== Libraries
|
|
|
|
|
2019-11-06 23:53:05 -05:00
|
|
|
Benchmark:: Provides methods to measure and report the time used to execute code
|
2017-11-30 23:25:32 -05:00
|
|
|
Bundler:: Manage your Ruby application's gem dependencies
|
2019-11-07 02:34:03 -05:00
|
|
|
CGI:: Support for the Common Gateway Interface protocol
|
2017-02-09 05:49:08 -05:00
|
|
|
CSV:: Provides an interface to read and write CSV files and data
|
2019-11-06 23:21:46 -05:00
|
|
|
Delegator:: Provides three abilities to delegate method calls to an object
|
2018-07-25 08:31:58 -04:00
|
|
|
E2MM:: Module for defining custom exceptions with specific messages
|
2017-02-09 05:49:08 -05:00
|
|
|
FileUtils:: Several file utility methods for copying, moving, removing, etc
|
2018-07-25 08:31:58 -04:00
|
|
|
Forwardable:: Provides delegation of specified methods to a designated object
|
2019-11-06 18:48:45 -05:00
|
|
|
GetoptLong:: Parse command line options similar to the GNU C getopt_long()
|
2018-08-10 02:06:32 -04:00
|
|
|
IPAddr:: Provides methods to manipulate IPv4 and IPv6 IP addresses
|
2018-07-09 10:01:05 -04:00
|
|
|
IRB:: Interactive Ruby command-line tool for REPL (Read Eval Print Loop)
|
2018-06-02 09:57:48 -04:00
|
|
|
Logger:: Provides a simple logging utility for outputting messages
|
2018-06-08 09:19:02 -04:00
|
|
|
Matrix:: Represents a mathematical matrix.
|
2018-07-25 08:31:58 -04:00
|
|
|
Mutex_m:: Mixin to extend objects to be handled like a Mutex
|
2019-11-07 01:24:59 -05:00
|
|
|
Net::POP3:: Ruby client library for POP3
|
2019-11-07 01:38:40 -05:00
|
|
|
Net::SMTP:: Simple Mail Transfer Protocol client library for Ruby
|
2019-11-06 08:17:03 -05:00
|
|
|
Open3:: Provides access to stdin, stdout and stderr when running other programs
|
2018-06-07 06:13:00 -04:00
|
|
|
OpenStruct:: Class to build custom data structures, similar to a Hash
|
2018-06-02 19:05:45 -04:00
|
|
|
Prime:: Prime numbers and factorization library
|
2019-11-06 21:17:12 -05:00
|
|
|
PStore:: Implements a file based persistence mechanism based on a Hash
|
2019-06-20 03:10:24 -04:00
|
|
|
Racc:: A LALR(1) parser generator written in Ruby.
|
2017-02-09 05:49:08 -05:00
|
|
|
RDoc:: Produces HTML and command-line documentation for Ruby
|
2018-06-02 02:02:51 -04:00
|
|
|
REXML:: An XML toolkit for Ruby
|
2018-06-01 21:14:24 -04:00
|
|
|
RSS:: Family of libraries that support various formats of XML "feeds"
|
2019-11-05 21:29:51 -05:00
|
|
|
Singleton:: Implementation of the Singleton pattern for Ruby
|
2018-07-19 21:25:59 -04:00
|
|
|
Tracer:: Outputs a source level execution trace of a Ruby program
|
2017-02-09 05:49:08 -05:00
|
|
|
WEBrick:: An HTTP server toolkit for Ruby
|
|
|
|
|
|
|
|
== Extensions
|
|
|
|
|
|
|
|
BigDecimal:: Provides arbitrary-precision floating point decimal arithmetic
|
|
|
|
Date:: A subclass of Object includes Comparable module for handling dates
|
|
|
|
DateTime:: Subclass of Date to handling dates, hours, minutes, seconds, offsets
|
|
|
|
DBM:: Provides a wrapper for the UNIX-style Database Manager Library
|
2017-02-27 04:20:39 -05:00
|
|
|
Etc:: Provides access to information typically stored in UNIX /etc directory
|
2017-02-10 04:41:15 -05:00
|
|
|
Fcntl:: Loads constants defined in the OS fcntl.h C header file
|
2017-04-05 21:47:45 -04:00
|
|
|
Fiddle:: A libffi wrapper for Ruby
|
2017-02-24 02:55:50 -05:00
|
|
|
GDBM:: Ruby extension for the GNU dbm (gdbm) library
|
2017-02-09 06:26:21 -05:00
|
|
|
IO::console:: Console interface
|
2017-02-09 05:49:08 -05:00
|
|
|
JSON:: Implements Javascript Object Notation for Ruby
|
|
|
|
OpenSSL:: Provides SSL, TLS and general purpose cryptography for Ruby
|
|
|
|
Psych:: A YAML parser and emitter for Ruby
|
2017-02-28 02:45:54 -05:00
|
|
|
SDBM:: Provides a simple file-based key-value store with String keys and values
|
2017-04-05 21:47:45 -04:00
|
|
|
StringIO:: Pseudo I/O on String objects
|
2017-02-09 05:49:08 -05:00
|
|
|
StringScanner:: Provides lexical scanning operations on a String
|
2013-02-04 15:20:23 -05:00
|
|
|
Zlib:: Ruby interface for the zlib compression/decompression library
|
2017-02-09 06:26:21 -05:00
|
|
|
|
|
|
|
= Bundled gems
|
|
|
|
|
|
|
|
== Libraries
|
|
|
|
|
|
|
|
DidYouMean:: "Did you mean?" experience in Ruby
|
|
|
|
MiniTest:: A test suite with TDD, BDD, mocking and benchmarking
|
|
|
|
Net::Telnet:: Telnet client library for Ruby
|
|
|
|
PowerAssert:: Power Assert for Ruby.
|
|
|
|
Rake:: Ruby build program with capabilities similar to make
|
|
|
|
Test::Unit:: A compatibility layer for MiniTest
|
|
|
|
XMLRPC:: Remote Procedure Call over HTTP support for Ruby
|