Pre-release
This release is a pre-release and may not be stable for production use.
rbtr-lang-ruby
Ruby support for rbtr. Optional plugin — install with
pip install rbtr[ruby].
What it ingests
- Functions & methods —
def(a method inside a class/module is scoped to it; top-leveldefis a function). - Classes —
classandmoduledefinitions (a module also scopes its members). - Variables — constants and module-level assignments.
- Imports —
requireandrequire_relative, for cross-file edges.
Leading # doc comments fold into the symbol's content.
Chunks produced
def greet(name); …; end # function "greet"
class User # class "User"
def save; …; end # method "save", scope "User"
end
MAX = 100 # variable "MAX"
require_relative "config" # import, metadata {module: config}
Embedded / injected chunks
None. Ruby does not embed other languages.
Grammar & dependencies
Uses the tree-sitter-ruby grammar. No dependency on other language plugins.
Metadata
Release files for rbtr-lang-ruby 2026.9.0.dev1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rbtr_lang_ruby-2026.9.0.dev1.tar.gz | 10.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rbtr_lang_ruby-2026.9.0.dev1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 26.4 kB
Release files / rbtr_lang_ruby-2026.9.0.dev1.tar.gz
| Download URL | rbtr_lang_ruby-2026.9.0.dev1.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8e500d02baefbf578aadc37c9a17b370c398c70e4da6e7fcb00747047864afe0
|
|
BLAKE2b-256 checksum How to use checksums |
3323c537c082ded96d5c140282a399034b4c913389142178404ac50c0578727a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / rbtr_lang_ruby-2026.9.0.dev1-py3-none-any.whl
| Download URL | rbtr_lang_ruby-2026.9.0.dev1-py3-none-any.whl |
|---|---|
| Size | 16.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
977289e69d017201d38d58a1c333f1bfb638c78d83a22c4fb72634c02788f1fb
|
|
BLAKE2b-256 checksum How to use checksums |
82c65ca439d6f612866fd75e2bfdebdd9209276557f7bdde6f2b8b1121b91ae0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|