{"id":17773913,"url":"https://github.com/svenfuchs/memoize","last_synced_at":"2025-04-01T16:17:59.933Z","repository":{"id":56883294,"uuid":"182843932","full_name":"svenfuchs/memoize","owner":"svenfuchs","description":"Simplistic memoization using instance variables","archived":false,"fork":false,"pushed_at":"2019-05-14T22:00:05.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-09T05:48:36.362Z","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/svenfuchs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-04-22T18:24:21.000Z","updated_at":"2019-05-14T22:00:06.000Z","dependencies_parsed_at":"2022-08-20T13:10:53.181Z","dependency_job_id":null,"html_url":"https://github.com/svenfuchs/memoize","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/svenfuchs%2Fmemoize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svenfuchs%2Fmemoize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svenfuchs%2Fmemoize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svenfuchs%2Fmemoize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/svenfuchs","download_url":"https://codeload.github.com/svenfuchs/memoize/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246668904,"owners_count":20814744,"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-10-26T21:47:14.849Z","updated_at":"2025-04-01T16:17:59.911Z","avatar_url":"https://github.com/svenfuchs.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Memoize [![Build Status](https://travis-ci.org/svenfuchs/memoize.svg?branch=master)](https://travis-ci.org/svenfuchs/memoize)\n\nSimplistic memoization using instance variables.\n\n## Installation\n\n```\ngem install\n```\n\n## Usage\n\n```ruby\nrequire 'memoize'\n\nclass Obj\n  include Memoize\n\n  # on a separate line, after the method definition\n  def foo\n    # expensive operation\n  end\n  memoize :foo\n\n  # on one line, before the method definition\n  memoize def bar\n    # expensive operation\n  end\nend\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvenfuchs%2Fmemoize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsvenfuchs%2Fmemoize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvenfuchs%2Fmemoize/lists"}