{"id":15032765,"url":"https://github.com/ruby/english","last_synced_at":"2025-04-08T19:21:37.742Z","repository":{"id":45546338,"uuid":"240215968","full_name":"ruby/English","owner":"ruby","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-04T06:06:32.000Z","size":42,"stargazers_count":32,"open_issues_count":0,"forks_count":7,"subscribers_count":33,"default_branch":"master","last_synced_at":"2025-04-08T19:21:20.452Z","etag":null,"topics":["hacktoberfest","ruby"],"latest_commit_sha":null,"homepage":null,"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}},"created_at":"2020-02-13T08:54:45.000Z","updated_at":"2025-04-04T04:38:55.000Z","dependencies_parsed_at":"2023-11-07T04:47:13.384Z","dependency_job_id":"caa07a87-1b44-49dc-aab3-fce9b2ffa682","html_url":"https://github.com/ruby/English","commit_stats":{"total_commits":41,"total_committers":16,"mean_commits":2.5625,"dds":0.5853658536585367,"last_synced_commit":"d0159c79dce39a75aa59e0c5e5952d5d45ad4c83"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2FEnglish","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2FEnglish/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2FEnglish/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruby%2FEnglish/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ruby","download_url":"https://codeload.github.com/ruby/English/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247909251,"owners_count":21016489,"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":["hacktoberfest","ruby"],"created_at":"2024-09-24T20:19:24.103Z","updated_at":"2025-04-08T19:21:37.717Z","avatar_url":"https://github.com/ruby.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# English\n\nInclude the English library file in a Ruby script, and you can\nreference the global variables such as \u003ccode\u003e$_\u003c/code\u003e using less\ncryptic names, listed below.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'english'\n```\n\nAnd then execute:\n\n    $ bundle install\n\nOr install it yourself as:\n\n    $ gem install english\n\n## Usage\n\nWithout 'English':\n\n```ruby\n$\\ = ' -- '\n\"waterbuffalo\" =~ /buff/\nprint $', $$, \"\\n\"\n```\n\nWith English:\n\n```ruby\nrequire \"English\"\n\n$OUTPUT_FIELD_SEPARATOR = ' -- '\n\"waterbuffalo\" =~ /buff/\nprint $POSTMATCH, $PID, \"\\n\"\n```\n\nThe aliases are defined in [English.rb](lib/English.rb), and are as follows, first alias to builtin, then builtin to alias:\n\n### Builtin to Alias Table\n\n| Builtin | Alias                    |\n| :-----: | ------------------------ |\n|   $!    | $ERROR_INFO              |\n|   $$    | $PID                     |\n|   $$    | $PROCESS_ID              |\n|   $\u0026    | $MATCH                   |\n|   $'    | $POSTMATCH               |\n|   $*    | $ARGV                    |\n|   $+    | $LAST_PAREN_MATCH        |\n|   $,    | $OFS                     |\n|   $,    | $OUTPUT_FIELD_SEPARATOR  |\n|   $.    | $INPUT_LINE_NUMBER       |\n|   $.    | $NR                      |\n|   $/    | $INPUT_RECORD_SEPARATOR  |\n|   $/    | $RS                      |\n|   $;    | $FIELD_SEPARATOR         |\n|   $;    | $FS                      |\n|   $\u003c    | $DEFAULT_INPUT           |\n|   $\u003e    | $DEFAULT_OUTPUT          |\n|   $?    | $CHILD_STATUS            |\n|   $@    | $ERROR_POSITION          |\n|   $\\    | $ORS                     |\n|   $\\    | $OUTPUT_RECORD_SEPARATOR |\n|   $_    | $LAST_READ_LINE          |\n|   $`    | $PREMATCH                |\n|   $~    | $LAST_MATCH_INFO         |\n\n\n### Alias to Builtin Table\n\n| Alias                    | Builtin |\n| ------------------------ | :-----: |\n| $ARGV                    |   $*    |\n| $CHILD_STATUS            |   $?    |\n| $DEFAULT_INPUT           |   $\u003c    |\n| $DEFAULT_OUTPUT          |   $\u003e    |\n| $ERROR_INFO              |   $!    |\n| $ERROR_POSITION          |   $@    |\n| $FIELD_SEPARATOR         |   $;    |\n| $FS                      |   $;    |\n| $INPUT_LINE_NUMBER       |   $.    |\n| $INPUT_RECORD_SEPARATOR  |   $/    |\n| $LAST_MATCH_INFO         |   $~    |\n| $LAST_PAREN_MATCH        |   $+    |\n| $LAST_READ_LINE          |   $_    |\n| $MATCH                   |   $\u0026    |\n| $NR                      |   $.    |\n| $OFS                     |   $,    |\n| $ORS                     |   $\\    |\n| $OUTPUT_FIELD_SEPARATOR  |   $,    |\n| $OUTPUT_RECORD_SEPARATOR |   $\\    |\n| $PID                     |   $$    |\n| $POSTMATCH               |   $'    |\n| $PREMATCH                |   $`    |\n| $PROCESS_ID              |   $$    |\n| $RS                      |   $/    |\n\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/English.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruby%2Fenglish","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fruby%2Fenglish","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruby%2Fenglish/lists"}