{"id":20636822,"url":"https://github.com/tombenner/rh","last_synced_at":"2025-07-24T08:08:00.375Z","repository":{"id":24425093,"uuid":"27826324","full_name":"tombenner/rh","owner":"tombenner","description":"Fast Ruby documentation lookup","archived":false,"fork":false,"pushed_at":"2014-12-11T06:11:13.000Z","size":216,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-17T06:47:21.242Z","etag":null,"topics":["ruby","ruby-documentation"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/tombenner.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-10T15:38:07.000Z","updated_at":"2014-12-11T06:11:14.000Z","dependencies_parsed_at":"2022-08-21T00:20:46.029Z","dependency_job_id":null,"html_url":"https://github.com/tombenner/rh","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tombenner%2Frh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tombenner%2Frh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tombenner%2Frh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tombenner%2Frh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tombenner","download_url":"https://codeload.github.com/tombenner/rh/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242656036,"owners_count":20164431,"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":["ruby","ruby-documentation"],"created_at":"2024-11-16T15:12:14.957Z","updated_at":"2025-03-09T06:37:45.120Z","avatar_url":"https://github.com/tombenner.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Rh\n=====\nFast Ruby documentation lookup\n\n[\u003cimg src=\"https://secure.travis-ci.org/tombenner/rh.png\" /\u003e](http://travis-ci.org/tombenner/rh)\n\nOverview\n--------\n\nRh lets you easily look up Ruby documentation about classes, modules, and methods from the command line:\n\n```bash\n$ rh Array\n$ rh Enumerable#chunk\n$ rh Time.gm\n$ rh with_index\n```\n\nIf you're not sure where a method is defined, you can just enter it. If it's only defined in one class/module, that documentation will be shown. Otherwise, you'll get a choice:\n\n```bash\n$ rh cycle\nDid you mean?\n  0. Array#cycle\n  1. Enumerable#cycle\nEnter a number:\n```\n\nEverything from the core API and the standard library is supported, and documentation is shown on [ruby-doc.org](http://www.ruby-doc.org/) in a browser. Rh might eventually show documentation in the shell instead.\n\nRh shows documentation for the version of Ruby that's running it.\n\nInstallation\n------------\n\n```bash\ngem install rh\n```\n\nUsage\n-----\n\n### Formats\n\n#### Classes/modules:\n\n```bash\n$ rh Array\n```\n\n#### Class methods:\n\n```bash\n$ rh Time.gm\n$ rh Time::gm\n$ rh .gm\n$ rh ::gm\n```\n\n#### Instance methods:\n\n```bash\n$ rh Enumerable#chunk\n$ rh '#chunk'\n```\n\n#### Class methods and instance methods:\n\n```bash\n$ rh parse\n```\n\nLicense\n-------\n\nRh is released under the MIT License. Please see the MIT-LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftombenner%2Frh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftombenner%2Frh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftombenner%2Frh/lists"}