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.dev0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rbtr_lang_ruby-2026.9.0.dev0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / rbtr_lang_ruby-2026.9.0.dev0-py3-none-any.whl
| Download URL | rbtr_lang_ruby-2026.9.0.dev0-py3-none-any.whl |
|---|---|
| Size | 16.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
db990a4def94049e1336a8ee7aa7424b55835be85d45b8c4491221532a6f1db8
|
|
BLAKE2b-256 checksum How to use checksums |
d3d0680c75c336cc74902fa2ed9ec629daebcac7e2f1f7824661ecc1e55b2696
|
| 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}
|