{"id":16102385,"url":"https://github.com/sshaw/interrobang","last_synced_at":"2025-04-06T01:11:54.184Z","repository":{"id":136718087,"uuid":"183146357","full_name":"sshaw/interrobang","owner":"sshaw","description":"Did the method end with \"?\" or \"!\"‽ Interrobang gives you the best of both worlds‽ ","archived":false,"fork":false,"pushed_at":"2019-04-29T05:06:07.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-12T06:59:43.172Z","etag":null,"topics":["exclamation","interrobang","metaprogramming","question-mark","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sshaw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-04-24T04:11:59.000Z","updated_at":"2019-05-05T17:33:58.000Z","dependencies_parsed_at":"2023-07-03T09:00:34.740Z","dependency_job_id":null,"html_url":"https://github.com/sshaw/interrobang","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/sshaw%2Finterrobang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshaw%2Finterrobang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshaw%2Finterrobang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshaw%2Finterrobang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sshaw","download_url":"https://codeload.github.com/sshaw/interrobang/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247419871,"owners_count":20936013,"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":["exclamation","interrobang","metaprogramming","question-mark","ruby"],"created_at":"2024-10-09T18:53:41.962Z","updated_at":"2025-04-06T01:11:54.179Z","avatar_url":"https://github.com/sshaw.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Interrobang\n\n‽‽‽‽‽‽‽‽‽‽‽‽‽‽‽‽‽‽\n\nDid the method end with `?` or `!`‽ Interrobang gives you the best of both worlds‽\n\n## Usage\n\n```rb\nrequire \"interrobang\"\n\nclass Foo\n  def bar!\n    \"something amaaaaazing!\"\n  end\n\n  def baz?\n    false\n  end\nend\n\nInterrobang.only(Foo)\n\nfoo = Foo.new\nfoo.bar!     # \"something amaaaaazing!\"\nfoo.bar‽     # \"something amaaaaazing!\"\nfoo.baz?     # false\nfoo.baz‽     # false\n```\n\n\nFeeling _really_ forgetful‽ No problem:\n\n```rb\nInterrobang.everything\n\n%w[foo bar baz].include?(\"baz\")  # true\n%w[foo bar baz].include‽(\"baz\")  # true\n\n\"sshaw!\".chop!  # \"sshaw\"\n\"sshaw!\".chop‽  # \"sshaw\"\n```\n\n## See Also\n\n* [AngryRaise](https://github.com/sshaw/angry_raise) - `raise` exceptions, with emotion and intensity\n* [class2](https://github.com/sshaw/class2) - DSL for creating class hierarchies\n* [require3](https://github.com/sshaw/require3) - `Kernel#require` something and make it accessible via a different namespace\n* [YYMMDD](https://github.com/sshaw/yymmdd) - Tiny DSL for idiomatic date parsing and formatting\n\n## Author\n\nSkye Shaw [skye.shaw AT gmail]\n\n## License\n\nReleased under the MIT License: http://www.opensource.org/licenses/MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsshaw%2Finterrobang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsshaw%2Finterrobang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsshaw%2Finterrobang/lists"}