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

    • module Backports
    • module Backports::Random::Implementation
    • module Backports::StdLib
    • module Comparable
    • module Enumerable
    • module ExceptionForMatrix
    • module File::Constants
    • module Kernel
    • module Matrix::CoercionHelper
    • module Matrix::ConversionHelper
    • module UnicodeNormalize
  • Classes

    • class Array
    • class Backports::Data
    • class Backports::FilteredQueue
    • class Backports::FilteredQueue::ClosedQueueError
    • class Backports::FilteredQueue::Message
    • class Backports::FilteredQueue::TimeoutError
    • class Backports::Ractor
    • class Backports::Ractor::BaseQueue
    • class Backports::Ractor::Cloner
    • class Backports::Ractor::ClosedError
    • class Backports::Ractor::Error
    • class Backports::Ractor::IncomingQueue
    • class Backports::Ractor::OutgoingQueue
    • class Backports::Ractor::RemoteError
    • class Backports::Random
    • class Backports::Random::MT19937
    • class Backports::StdLib::LoadedFeatures
    • class BasicObject
    • class Bignum
    • class Binding
    • class Class
    • class ClosedQueueError
    • class Complex
    • class Data
    • class Dir
    • class Enumerable::Enumerator
    • class Enumerator
    • class Enumerator::Chain
    • class Enumerator::GeneratorBP
    • class Enumerator::Lazy
    • class Enumerator::Product
    • class Enumerator::Yielder
    • class FalseClass
    • class File
    • class Fixnum
    • class Float
    • class Hash
    • class IO
    • class Integer
    • class MatchData
    • class Matrix
    • class Matrix::EigenvalueDecomposition
    • class Matrix::LUPDecomposition
    • class Matrix::Scalar
    • class Method
    • class Module
    • class NilClass
    • class Numeric
    • class Object
    • class OpenStruct
    • class Prime
    • class Prime::EratosthenesGenerator
    • class Prime::EratosthenesSieve
    • class Prime::Generator23
    • class Prime::PseudoPrimeGenerator
    • class Prime::TrialDivision
    • class Prime::TrialDivisionGenerator
    • class Proc
    • class Queue
    • class Ractor
    • class Random
    • class Range
    • class Regexp
    • class Set
    • class StopIteration
    • class String
    • class Struct
    • class Symbol
    • class Time
    • class TrueClass
    • class UnboundMethod
    • class Vector
    • class Vector::ZeroVectorError
    Overview
    H
    Home
    R
    Reference
    T
    Types
    C
    Changelogs
  • Documentation
    • README
  • More
    • Versions
    • Source
    • Playground
    • Stats
    • Metadata
    • Wiki
    • Announcements
    Community
    • Articles
    • Tutorials
    • Videos
    • Community
  1. Gems
  2. backports

backports

Essential backports that enable many of the nice features of Ruby for earlier versions.

Types
Docs
Guides
Zeitwerk
Namespace
Optimized

Version

3.25.1

Authors

Marc-André Lafortune

Dependencies

-

Quick Start

bundle add backports

Getting Started

Learn more about the Backports 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

Playground

Test, play and inspect the gem for yourself

irb(main):001:0>

            

Playground

Run a Ruby playground with the backports gem pre-installed

Play

Top-Level Modules

  • Backports
  • Comparable
  • Enumerable
  • ExceptionForMatrix
  • Kernel
  • UnicodeNormalize

Top-Level Classes

  • Array
  • BasicObject
  • Bignum
  • Binding
  • Class
  • ClosedQueueError
  • Complex
  • Data
  • Dir
  • Enumerator
  • FalseClass
  • File
  • Fixnum
  • Float
  • Hash
  • IO
  • Integer
  • MatchData
  • Matrix
  • Method
  • Module
  • NilClass
  • Numeric
  • Object
  • OpenStruct
  • Prime
  • Proc
  • Queue
  • Ractor
  • Random
  • Range
  • Regexp
  • Set
  • StopIteration
  • String
  • Struct
  • Symbol
  • Time
  • TrueClass
  • UnboundMethod
  • Vector

Top-Level Instance Methods

  • # []
  • # each_char
  • # except
  • # expand_path_with_potential_to_path
  • # log_with_optional_base
  • # mktmpdir
  • # open_with_options_hash
  • # open_with_options_hash
  • # union_with_array_argument
Home
Gems
Docs
Contribute
Monitoring
Twitter GitHub Mastodon

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