{"id":15487962,"url":"https://github.com/dblock/ruby-overload","last_synced_at":"2025-09-20T04:32:25.140Z","repository":{"id":56893607,"uuid":"282447646","full_name":"dblock/ruby-overload","owner":"dblock","description":"Overload Ruby methods at runtime.","archived":false,"fork":false,"pushed_at":"2020-07-25T13:48:10.000Z","size":15,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-22T19:02:51.287Z","etag":null,"topics":[],"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/dblock.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-25T13:18:12.000Z","updated_at":"2021-09-19T18:56:13.000Z","dependencies_parsed_at":"2022-08-21T01:20:19.112Z","dependency_job_id":null,"html_url":"https://github.com/dblock/ruby-overload","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dblock/ruby-overload","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblock%2Fruby-overload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblock%2Fruby-overload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblock%2Fruby-overload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblock%2Fruby-overload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dblock","download_url":"https://codeload.github.com/dblock/ruby-overload/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dblock%2Fruby-overload/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276046897,"owners_count":25575876,"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","status":"online","status_checked_at":"2025-09-20T02:00:10.207Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-10-02T06:45:13.749Z","updated_at":"2025-09-20T04:32:24.890Z","avatar_url":"https://github.com/dblock.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Ruby::Overload\n==========\n\n[![Gem Version](http://img.shields.io/gem/v/ruby-overload.svg)](http://badge.fury.io/rb/ruby-overload)\n[![Build Status](https://travis-ci.org/dblock/ruby-overload.svg?branch=master)](https://travis-ci.org/dblock/ruby-overload)\n\nRuntime method overloading behavior for Ruby from [this blog post](https://lucaguidi.com/2020/07/22/ruby-method-overloading/) by [@jodosha](https://www.github.com/jodosha). Incorporates changes from [ptolemybarnes/overlord](https://github.com/ptolemybarnes/overlord), performance improvements from [baweaver@](https://gist.github.com/jodosha/e3097ed693e9b7c255b658ac39c2e403#gistcomment-3388594), and other ideas from [this tweet](https://twitter.com/jodosha/status/1285850349845254144).\n\n## Disclaimer\n\nThe original author of this idea, Luca Guidi, [does not recommend](https://twitter.com/jodosha/status/1285941282381139969) using this in production, but YOLO.\n\n## Usage\n\n```ruby\nrequire 'ruby-overload'\n\nclass Foo\n  include Ruby::Overload\n\n  def call\n    puts \"foo\"\n  end\n\n  def call(arg)\n    puts \"foo #{arg}\"\n  end\nend\n\nfoo = Foo.new\nfoo.call # =\u003e \"foo\"\nfoo.call(23) # =\u003e \"foo 23\"\n```\n\n## Contributing\n\nYou're encouraged to contribute to this gem. See [CONTRIBUTING](CONTRIBUTING.md) for details.\n\n## Copyright and License\n\nCopyright (c) 2020, Luca Guidi, Brandon Weaver, Daniel Doubrovkine and [Contributors](CHANGELOG.md).\n\nThis project is licensed under the [MIT License](LICENSE.md).\n\n## Similar Projects\n\n* [overloader](https://github.com/pocke/overloader)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdblock%2Fruby-overload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdblock%2Fruby-overload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdblock%2Fruby-overload/lists"}