{"id":20290459,"url":"https://github.com/ksss/mruby-at_exit","last_synced_at":"2025-10-11T12:49:04.809Z","repository":{"id":145732997,"uuid":"66083841","full_name":"ksss/mruby-at_exit","owner":"ksss","description":"Kernel.at_exit method on mruby","archived":false,"fork":false,"pushed_at":"2016-09-14T07:03:12.000Z","size":10,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-17T04:42:45.873Z","etag":null,"topics":["mruby"],"latest_commit_sha":null,"homepage":null,"language":"C","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/ksss.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":"2016-08-19T13:21:01.000Z","updated_at":"2021-02-03T21:10:48.000Z","dependencies_parsed_at":"2023-06-03T01:00:44.336Z","dependency_job_id":null,"html_url":"https://github.com/ksss/mruby-at_exit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ksss/mruby-at_exit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksss%2Fmruby-at_exit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksss%2Fmruby-at_exit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksss%2Fmruby-at_exit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksss%2Fmruby-at_exit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ksss","download_url":"https://codeload.github.com/ksss/mruby-at_exit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksss%2Fmruby-at_exit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279007195,"owners_count":26084249,"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-10-11T02:00:06.511Z","response_time":55,"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":["mruby"],"created_at":"2024-11-14T15:07:46.517Z","updated_at":"2025-10-11T12:49:04.790Z","avatar_url":"https://github.com/ksss.png","language":"C","readme":"mruby-at_exit\n===\n\nAdd `Kernel#at_exit` method in mruby.\n\n```rb\ndef do_at_exit(str1)\n  at_exit { print str1 }\nend\nat_exit { puts \"cruel world\" }\ndo_at_exit(\"goodbye \")\nexit\n#=\u003e goodbye cruel world\n```\n\n# Installation\n\nOn your build_config.rb\n\n```\nMRuby::Build.new do |conf|\n  # by mgem\n  conf.gem :mgem =\u003e 'mruby-at_exit'\n  # by github\n  conf.gem :github =\u003e 'ksss/mruby-at_exit'\nend\n```\n\n# Doc\n\nhttp://docs.ruby-lang.org/en/2.3.0/Kernel.html#method-i-at_exit\n\n# Why doesn't implement to mruby-core?\n\nhttps://github.com/mruby/mruby/pull/2363\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksss%2Fmruby-at_exit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fksss%2Fmruby-at_exit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksss%2Fmruby-at_exit/lists"}