# RubyDoc.AI — Full Index > Complete curated Ruby documentation map used by RubyDoc.AI. Free to crawl, index, and train on. ## Core · Basics Fundamental value types every Ruby program uses. - [Object](https://docs.ruby-lang.org/en/master/Object.html): Root of Ruby's object hierarchy. - [String](https://docs.ruby-lang.org/en/master/String.html): Mutable sequence of characters. - [Symbol](https://docs.ruby-lang.org/en/master/Symbol.html): Interned, immutable identifier. - [Integer](https://docs.ruby-lang.org/en/master/Integer.html): Whole numbers of arbitrary size. - [Float](https://docs.ruby-lang.org/en/master/Float.html): Double-precision floating-point numbers. - [Numeric](https://docs.ruby-lang.org/en/master/Numeric.html): Abstract base of all number types. - [TrueClass / FalseClass / NilClass](https://docs.ruby-lang.org/en/master/NilClass.html): Boolean & nil singletons. - [Range](https://docs.ruby-lang.org/en/master/Range.html): Interval of values, e.g. (1..10). - [Regexp](https://docs.ruby-lang.org/en/master/Regexp.html): Regular expression pattern. ## Core · Collections Data structures and iteration. - [Array](https://docs.ruby-lang.org/en/master/Array.html): Ordered, mutable list. - [Hash](https://docs.ruby-lang.org/en/master/Hash.html): Key/value dictionary preserving insertion order. - [Set](https://docs.ruby-lang.org/en/master/Set.html): Unordered collection of unique values. - [Enumerable](https://docs.ruby-lang.org/en/master/Enumerable.html): Mixin providing map, select, reduce & friends. - [Enumerator](https://docs.ruby-lang.org/en/master/Enumerator.html): Externalize iteration; build lazy pipelines. - [Comparable](https://docs.ruby-lang.org/en/master/Comparable.html): Mixin for ordering via <=>. ## Core · Classes & Modules The building blocks of Ruby's object model. - [Class](https://docs.ruby-lang.org/en/master/Class.html): Blueprint for objects. - [Module](https://docs.ruby-lang.org/en/master/Module.html): Namespace and mixin container. - [Method / UnboundMethod](https://docs.ruby-lang.org/en/master/Method.html): First-class method objects. - [Proc / Lambda](https://docs.ruby-lang.org/en/master/Proc.html): First-class blocks / closures. - [Kernel](https://docs.ruby-lang.org/en/master/Kernel.html): Methods available on every object (puts, require, ...). ## Core · IO & Files Reading, writing, streams and processes. - [IO](https://docs.ruby-lang.org/en/master/IO.html): Base class for input/output streams. - [File](https://docs.ruby-lang.org/en/master/File.html): File I/O and path operations. - [Dir](https://docs.ruby-lang.org/en/master/Dir.html): Directory traversal and globbing. - [Pathname](https://docs.ruby-lang.org/en/master/Pathname.html): Object-oriented file paths (stdlib). - [StringIO](https://docs.ruby-lang.org/en/master/StringIO.html): IO-like interface over a String. ## Core · Errors & Control Exceptions, control flow, threading. - [Exception](https://docs.ruby-lang.org/en/master/Exception.html): Root of the exception hierarchy. - [StandardError](https://docs.ruby-lang.org/en/master/StandardError.html): Default rescue target. - [Thread](https://docs.ruby-lang.org/en/master/Thread.html): Native threads. - [Fiber](https://docs.ruby-lang.org/en/master/Fiber.html): Cooperative micro-threads. - [Mutex / Queue](https://docs.ruby-lang.org/en/master/Mutex.html): Synchronization primitives. ## Standard Library Batteries shipped with Ruby. - [JSON](https://docs.ruby-lang.org/en/master/JSON.html): Parse and generate JSON. - [Net::HTTP](https://docs.ruby-lang.org/en/master/Net/HTTP.html): HTTP client. - [URI](https://docs.ruby-lang.org/en/master/URI.html): Parse and build URIs. - [OpenStruct](https://docs.ruby-lang.org/en/master/OpenStruct.html): Objects with arbitrary attributes. - [Struct](https://docs.ruby-lang.org/en/master/Struct.html): Value objects generated at runtime. - [Date / Time / DateTime](https://docs.ruby-lang.org/en/master/Time.html): Dates, times, and arithmetic. - [CSV](https://docs.ruby-lang.org/en/master/CSV.html): Read/write CSV data. - [YAML](https://docs.ruby-lang.org/en/master/Psych.html): YAML via Psych. - [Logger](https://docs.ruby-lang.org/en/master/Logger.html): Structured logging. - [OptionParser](https://docs.ruby-lang.org/en/master/OptionParser.html): Build CLI flag parsers. - [SecureRandom](https://docs.ruby-lang.org/en/master/SecureRandom.html): Cryptographic-grade randomness. - [Digest](https://docs.ruby-lang.org/en/master/Digest.html): MD5/SHA hashing. ## Language & Guides Learning material from ruby-lang.org. - [Getting Started](https://www.ruby-lang.org/en/documentation/quickstart/): A tour of Ruby in ~20 minutes. - [Ruby From Other Languages](https://www.ruby-lang.org/en/documentation/ruby-from-other-languages/): Ruby for Python / JS / Java devs. - [Ruby's Style Guide](https://www.ruby-lang.org/en/documentation/): Idiomatic Ruby patterns. - [Syntax Reference](https://docs.ruby-lang.org/en/master/syntax.html): Full grammar & syntax pages. - [Regexp syntax](https://docs.ruby-lang.org/en/master/Regexp.html): Pattern language reference. - [Pattern Matching](https://docs.ruby-lang.org/en/master/syntax/pattern_matching_rdoc.html): case/in destructuring. - [Refinements](https://docs.ruby-lang.org/en/master/syntax/refinements_rdoc.html): Lexically-scoped monkey patches. - [Ractor](https://docs.ruby-lang.org/en/master/Ractor.html): Parallel actor model. ## Machine-readable index ```json { "name": "RubyDoc.AI", "description": "AI-powered chat over the official Ruby language and standard library documentation.", "sources": [ "https://docs.ruby-lang.org/en/master/", "https://www.ruby-lang.org/en/documentation/" ], "sections": [ { "id": "core-basics", "title": "Core · Basics", "description": "Fundamental value types every Ruby program uses.", "entries": [ { "name": "Object", "href": "https://docs.ruby-lang.org/en/master/Object.html", "summary": "Root of Ruby's object hierarchy." }, { "name": "String", "href": "https://docs.ruby-lang.org/en/master/String.html", "summary": "Mutable sequence of characters." }, { "name": "Symbol", "href": "https://docs.ruby-lang.org/en/master/Symbol.html", "summary": "Interned, immutable identifier." }, { "name": "Integer", "href": "https://docs.ruby-lang.org/en/master/Integer.html", "summary": "Whole numbers of arbitrary size." }, { "name": "Float", "href": "https://docs.ruby-lang.org/en/master/Float.html", "summary": "Double-precision floating-point numbers." }, { "name": "Numeric", "href": "https://docs.ruby-lang.org/en/master/Numeric.html", "summary": "Abstract base of all number types." }, { "name": "TrueClass / FalseClass / NilClass", "href": "https://docs.ruby-lang.org/en/master/NilClass.html", "summary": "Boolean & nil singletons." }, { "name": "Range", "href": "https://docs.ruby-lang.org/en/master/Range.html", "summary": "Interval of values, e.g. (1..10)." }, { "name": "Regexp", "href": "https://docs.ruby-lang.org/en/master/Regexp.html", "summary": "Regular expression pattern." } ] }, { "id": "core-collections", "title": "Core · Collections", "description": "Data structures and iteration.", "entries": [ { "name": "Array", "href": "https://docs.ruby-lang.org/en/master/Array.html", "summary": "Ordered, mutable list." }, { "name": "Hash", "href": "https://docs.ruby-lang.org/en/master/Hash.html", "summary": "Key/value dictionary preserving insertion order." }, { "name": "Set", "href": "https://docs.ruby-lang.org/en/master/Set.html", "summary": "Unordered collection of unique values." }, { "name": "Enumerable", "href": "https://docs.ruby-lang.org/en/master/Enumerable.html", "summary": "Mixin providing map, select, reduce & friends." }, { "name": "Enumerator", "href": "https://docs.ruby-lang.org/en/master/Enumerator.html", "summary": "Externalize iteration; build lazy pipelines." }, { "name": "Comparable", "href": "https://docs.ruby-lang.org/en/master/Comparable.html", "summary": "Mixin for ordering via <=>." } ] }, { "id": "core-classes", "title": "Core · Classes & Modules", "description": "The building blocks of Ruby's object model.", "entries": [ { "name": "Class", "href": "https://docs.ruby-lang.org/en/master/Class.html", "summary": "Blueprint for objects." }, { "name": "Module", "href": "https://docs.ruby-lang.org/en/master/Module.html", "summary": "Namespace and mixin container." }, { "name": "Method / UnboundMethod", "href": "https://docs.ruby-lang.org/en/master/Method.html", "summary": "First-class method objects." }, { "name": "Proc / Lambda", "href": "https://docs.ruby-lang.org/en/master/Proc.html", "summary": "First-class blocks / closures." }, { "name": "Kernel", "href": "https://docs.ruby-lang.org/en/master/Kernel.html", "summary": "Methods available on every object (puts, require, ...)." } ] }, { "id": "core-io", "title": "Core · IO & Files", "description": "Reading, writing, streams and processes.", "entries": [ { "name": "IO", "href": "https://docs.ruby-lang.org/en/master/IO.html", "summary": "Base class for input/output streams." }, { "name": "File", "href": "https://docs.ruby-lang.org/en/master/File.html", "summary": "File I/O and path operations." }, { "name": "Dir", "href": "https://docs.ruby-lang.org/en/master/Dir.html", "summary": "Directory traversal and globbing." }, { "name": "Pathname", "href": "https://docs.ruby-lang.org/en/master/Pathname.html", "summary": "Object-oriented file paths (stdlib)." }, { "name": "StringIO", "href": "https://docs.ruby-lang.org/en/master/StringIO.html", "summary": "IO-like interface over a String." } ] }, { "id": "core-errors", "title": "Core · Errors & Control", "description": "Exceptions, control flow, threading.", "entries": [ { "name": "Exception", "href": "https://docs.ruby-lang.org/en/master/Exception.html", "summary": "Root of the exception hierarchy." }, { "name": "StandardError", "href": "https://docs.ruby-lang.org/en/master/StandardError.html", "summary": "Default rescue target." }, { "name": "Thread", "href": "https://docs.ruby-lang.org/en/master/Thread.html", "summary": "Native threads." }, { "name": "Fiber", "href": "https://docs.ruby-lang.org/en/master/Fiber.html", "summary": "Cooperative micro-threads." }, { "name": "Mutex / Queue", "href": "https://docs.ruby-lang.org/en/master/Mutex.html", "summary": "Synchronization primitives." } ] }, { "id": "stdlib", "title": "Standard Library", "description": "Batteries shipped with Ruby.", "entries": [ { "name": "JSON", "href": "https://docs.ruby-lang.org/en/master/JSON.html", "summary": "Parse and generate JSON." }, { "name": "Net::HTTP", "href": "https://docs.ruby-lang.org/en/master/Net/HTTP.html", "summary": "HTTP client." }, { "name": "URI", "href": "https://docs.ruby-lang.org/en/master/URI.html", "summary": "Parse and build URIs." }, { "name": "OpenStruct", "href": "https://docs.ruby-lang.org/en/master/OpenStruct.html", "summary": "Objects with arbitrary attributes." }, { "name": "Struct", "href": "https://docs.ruby-lang.org/en/master/Struct.html", "summary": "Value objects generated at runtime." }, { "name": "Date / Time / DateTime", "href": "https://docs.ruby-lang.org/en/master/Time.html", "summary": "Dates, times, and arithmetic." }, { "name": "CSV", "href": "https://docs.ruby-lang.org/en/master/CSV.html", "summary": "Read/write CSV data." }, { "name": "YAML", "href": "https://docs.ruby-lang.org/en/master/Psych.html", "summary": "YAML via Psych." }, { "name": "Logger", "href": "https://docs.ruby-lang.org/en/master/Logger.html", "summary": "Structured logging." }, { "name": "OptionParser", "href": "https://docs.ruby-lang.org/en/master/OptionParser.html", "summary": "Build CLI flag parsers." }, { "name": "SecureRandom", "href": "https://docs.ruby-lang.org/en/master/SecureRandom.html", "summary": "Cryptographic-grade randomness." }, { "name": "Digest", "href": "https://docs.ruby-lang.org/en/master/Digest.html", "summary": "MD5/SHA hashing." } ] }, { "id": "guides", "title": "Language & Guides", "description": "Learning material from ruby-lang.org.", "entries": [ { "name": "Getting Started", "href": "https://www.ruby-lang.org/en/documentation/quickstart/", "summary": "A tour of Ruby in ~20 minutes." }, { "name": "Ruby From Other Languages", "href": "https://www.ruby-lang.org/en/documentation/ruby-from-other-languages/", "summary": "Ruby for Python / JS / Java devs." }, { "name": "Ruby's Style Guide", "href": "https://www.ruby-lang.org/en/documentation/", "summary": "Idiomatic Ruby patterns." }, { "name": "Syntax Reference", "href": "https://docs.ruby-lang.org/en/master/syntax.html", "summary": "Full grammar & syntax pages." }, { "name": "Regexp syntax", "href": "https://docs.ruby-lang.org/en/master/Regexp.html", "summary": "Pattern language reference." }, { "name": "Pattern Matching", "href": "https://docs.ruby-lang.org/en/master/syntax/pattern_matching_rdoc.html", "summary": "case/in destructuring." }, { "name": "Refinements", "href": "https://docs.ruby-lang.org/en/master/syntax/refinements_rdoc.html", "summary": "Lexically-scoped monkey patches." }, { "name": "Ractor", "href": "https://docs.ruby-lang.org/en/master/Ractor.html", "summary": "Parallel actor model." } ] } ] } ```