{"id":13895984,"url":"https://github.com/orbitalquark/textadept-ruby","last_synced_at":"2025-05-01T18:30:31.284Z","repository":{"id":49346892,"uuid":"302110908","full_name":"orbitalquark/textadept-ruby","owner":"orbitalquark","description":"Ruby language module for Textadept.","archived":true,"fork":false,"pushed_at":"2023-01-24T02:14:40.000Z","size":593,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"default","last_synced_at":"2025-02-28T22:11:51.185Z","etag":null,"topics":["rails","ruby","ruby-on-rails","textadept","textadept-module"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/orbitalquark.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-07T17:28:06.000Z","updated_at":"2024-11-25T08:11:39.000Z","dependencies_parsed_at":"2023-01-31T20:31:56.556Z","dependency_job_id":null,"html_url":"https://github.com/orbitalquark/textadept-ruby","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orbitalquark%2Ftextadept-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orbitalquark%2Ftextadept-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orbitalquark%2Ftextadept-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orbitalquark%2Ftextadept-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orbitalquark","download_url":"https://codeload.github.com/orbitalquark/textadept-ruby/tar.gz/refs/heads/default","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251924563,"owners_count":21665992,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["rails","ruby","ruby-on-rails","textadept","textadept-module"],"created_at":"2024-08-06T18:02:35.932Z","updated_at":"2025-05-01T18:30:30.290Z","avatar_url":"https://github.com/orbitalquark.png","language":"Lua","funding_links":[],"categories":["Lua"],"sub_categories":[],"readme":"# Ruby\n\nThe ruby module for Textadept.\nIt provides utilities for editing Ruby code.\n\n**WARNING:** this module is deprecated. It will no longer work in Textadept 12.0.\n\n## Key Bindings\n\n+ `Shift+Enter` (`⇧↩` | `S-Enter`)\n  Try to autocomplete an `if`, `while`, `for`, etc. control structure with `end`.\n\n## Functions defined by `_M.ruby`\n\n\u003ca id=\"_M.ruby.toggle_block\"\u003e\u003c/a\u003e\n### `_M.ruby.toggle_block`()\n\nToggles between `{ ... }` and `do ... end` Ruby blocks.\nIf the caret is inside a `{ ... }` single-line block, that block is converted to a multiple-line\n`do .. end` block. If the caret is on a line that contains single-line `do ... end` block, that\nblock is converted to a single-line `{ ... }` block. If the caret is inside a multiple-line\n`do ... end` block, that block is converted to a single-line `{ ... }` block with all newlines\nreplaced by a space. Indentation is important. The `do` and `end` keywords must be on lines\nwith the same level of indentation to toggle correctly.\n\n\u003ca id=\"_M.ruby.try_to_autocomplete_end\"\u003e\u003c/a\u003e\n### `_M.ruby.try_to_autocomplete_end`()\n\nTries to autocomplete Ruby's `end` keyword for control structures like `if`, `while`, `for`, etc.\n\nSee also:\n\n* [`_M.ruby.control_structure_patterns`](#_M.ruby.control_structure_patterns)\n\n\n## Tables defined by `_M.ruby`\n\n\u003ca id=\"_M.ruby.control_structure_patterns\"\u003e\u003c/a\u003e\n### `_M.ruby.control_structure_patterns`\n\nPatterns for auto `end` completion for control structures.\n\nSee also:\n\n* [`_M.ruby.try_to_autocomplete_end`](#_M.ruby.try_to_autocomplete_end)\n\n\u003ca id=\"_M.ruby.expr_types\"\u003e\u003c/a\u003e\n### `_M.ruby.expr_types`\n\nMap of expression patterns to their types.\nExpressions are expected to match after the '=' sign of a statement.\n\n\u003ca id=\"_M.ruby.tags\"\u003e\u003c/a\u003e\n### `_M.ruby.tags`\n\nList of \"fake\" ctags files to use for autocompletion.\nIn addition to the normal ctags kinds for Ruby, the kind 'C' is recognized as a constant and\n'a' as an attribute.\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forbitalquark%2Ftextadept-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forbitalquark%2Ftextadept-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forbitalquark%2Ftextadept-ruby/lists"}