{"id":15032772,"url":"https://github.com/ruby/io-console","last_synced_at":"2025-05-15T03:04:44.976Z","repository":{"id":21880945,"uuid":"94316857","full_name":"ruby/io-console","owner":"ruby","description":"add console capabilities to IO instance","archived":false,"fork":false,"pushed_at":"2025-05-02T00:31:16.000Z","size":511,"stargazers_count":56,"open_issues_count":5,"forks_count":31,"subscribers_count":33,"default_branch":"master","last_synced_at":"2025-05-05T08:40:46.062Z","etag":null,"topics":["ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ruby.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-06-14T10:01:58.000Z","updated_at":"2025-05-02T00:31:19.000Z","dependencies_parsed_at":"2023-01-13T21:43:37.629Z","dependency_job_id":"078f8b94-42cd-4982-876d-337dc1b76f74","html_url":"https://github.com/ruby/io-console","commit_stats":{"total_commits":446,"total_committers":38,"mean_commits":"11.736842105263158","dds":0.3430493273542601,"last_synced_commit":"467508a0c64aa0dc4ae4f42179442570f52140f0"},"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Fio-console","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Fio-console/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Fio-console/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2Fio-console/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ruby","download_url":"https://codeload.github.com/ruby/io-console/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252533194,"owners_count":21763545,"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"],"created_at":"2024-09-24T20:19:25.022Z","updated_at":"2025-05-15T03:04:44.928Z","avatar_url":"https://github.com/ruby.png","language":"Ruby","readme":"# IO.console\n\nAdd console capabilities to IO instances.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'io-console'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install io-console\n\n## Usage\n\n```ruby\nrequire 'io/console'\n\nIO.console      -\u003e #\u003cFile:/dev/tty\u003e\nIO.console(sym, *args)\n```\n\nReturns a File instance opened console.\n\nIf `sym` is given, it will be sent to the opened console with `args` and the result will be returned instead of the console IO itself.\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/ruby/io-console.\n\n## License\n\nThe gem is available as open source under the terms of the [2-Clause BSD License](https://opensource.org/licenses/BSD-2-Clause).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruby%2Fio-console","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fruby%2Fio-console","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruby%2Fio-console/lists"}