{"id":22120361,"url":"https://github.com/maxpleaner/auto_initializer","last_synced_at":"2025-07-14T15:37:45.348Z","repository":{"id":62553803,"uuid":"77722092","full_name":"MaxPleaner/auto_initializer","owner":"MaxPleaner","description":"Automatically accept #initialize args for attr_reader properties","archived":false,"fork":false,"pushed_at":"2016-12-31T02:58:24.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-14T19:11:00.687Z","etag":null,"topics":[],"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/MaxPleaner.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}},"created_at":"2016-12-31T02:53:11.000Z","updated_at":"2017-06-26T21:55:40.000Z","dependencies_parsed_at":"2022-11-03T04:45:29.657Z","dependency_job_id":null,"html_url":"https://github.com/MaxPleaner/auto_initializer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MaxPleaner/auto_initializer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxPleaner%2Fauto_initializer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxPleaner%2Fauto_initializer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxPleaner%2Fauto_initializer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxPleaner%2Fauto_initializer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MaxPleaner","download_url":"https://codeload.github.com/MaxPleaner/auto_initializer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaxPleaner%2Fauto_initializer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265313286,"owners_count":23745188,"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":[],"created_at":"2024-12-01T14:23:02.525Z","updated_at":"2025-07-14T15:37:45.322Z","avatar_url":"https://github.com/MaxPleaner.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"AutoInitializer\n\n```sh\ngem install auto_initializer\n```\n\n```rb\nrequire 'auto_initializer'\nclass Test\n  attr_reader :foo\n  include AutoInitializer\nend\n\n(Test.new foo: :ok).foo\n# =\u003e :ok\n```\n\nIn simple english:\n\n\u003e If you were going to write an initializer for the sole purpose of passing arguments to\ninstance varaibles, there's no need. With this gem, you can have this happen automatically\n(the initializer will accept any keyword arguments passed). You still need to write\nattr_reader, attr_writer, etc. to read the data unless you use instance_variable_get.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxpleaner%2Fauto_initializer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxpleaner%2Fauto_initializer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxpleaner%2Fauto_initializer/lists"}