{"id":22981073,"url":"https://github.com/rubyworks/association","last_synced_at":"2025-04-02T09:42:08.919Z","repository":{"id":66244228,"uuid":"538689","full_name":"rubyworks/association","owner":"rubyworks","description":"Generic Object Assocations","archived":false,"fork":false,"pushed_at":"2010-02-27T14:41:35.000Z","size":80,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-08T00:42:56.180Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://rubyworks.github.com/association/","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/rubyworks.png","metadata":{"files":{"readme":"README","changelog":"HISTORY","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":"2010-02-27T14:38:11.000Z","updated_at":"2013-10-07T22:12:03.000Z","dependencies_parsed_at":"2023-02-20T00:40:15.879Z","dependency_job_id":null,"html_url":"https://github.com/rubyworks/association","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/rubyworks%2Fassociation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyworks%2Fassociation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyworks%2Fassociation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rubyworks%2Fassociation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rubyworks","download_url":"https://codeload.github.com/rubyworks/association/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246793066,"owners_count":20834922,"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-15T01:46:53.185Z","updated_at":"2025-04-02T09:42:08.882Z","avatar_url":"https://github.com/rubyworks.png","language":"Ruby","readme":"= Association\n\n  http://death.rubyforge.org\n\n\n== DESCRIPTION\n\nGeneral binary associations allows one object to be\nassociated with another. It has a variety of uses,\nlink-lists, simple ordered maps and mixed collections,\namong them.\n\n\n== FEATURES/ISSUES\n\n* Create linked-lists with operator (#\u003e\u003e).\n* Operator notation does not work for:\n  * Bignum\n  * Fixnum\n  * Date\n  * IPAddr\n  * Process::Status\n  Or any other class that defines #\u003e\u003e for something else.\n* An object can have multiple associations.\n\n\n== SYNOPSIS\n\nGerenal binary association allows one object to be\nassociated with another. It has a variety of uses,\nlink-lists, simple ordered maps and mixed collections,\namong them.\n\nAssociations can be used to draw simple relationships.\n\n  :Apple \u003e\u003e :Fruit\n  :Apple \u003e\u003e :Red\n  :Apple.associations #=\u003e [ :Fruit, :Red ]\n\nIt can also be used for simple lists of ordered pairs.\n\n  c = [ :a \u003e\u003e 1, :b \u003e\u003e 2 ]\n  c.each { |k,v| puts \"#{k} associated with #{v} }\n\nproduces\n\n  a associated with 1\n  b associated with 2\n\nThe method :\u003e\u003e is used to construct the association.\nIt is a rarely used method so it is generally available.\nBut you can't use an Association while extending\nany of the following classes becuase they use #\u003e\u003e for\nother things.\n\n  Bignum\n  Fixnum\n  Date\n  IPAddr\n  Process::Status\n\n\n== HOW TO INSTALL\n\nDescribe your installation procedure here.\n\nTo install with RubyGems simply open a console and type:\n\n  gem install association\n\nLocal installation requires Setup.rb (gem install setup),\nthen download the tarball package and type:\n\n  tar -xvzf association-1.0.0.tgz\n  cd association-1.0.0\n  sudo setup.rb all\n\nWindows users use 'ruby setup.rb all'.\n\n\n== COPYING\n\nCopyright (c) 2005 The Coding Dead\n\nThis program is ditributed unser the terms of the LGPLv3 license.\n\nSee LICENSE file for details.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubyworks%2Fassociation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frubyworks%2Fassociation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frubyworks%2Fassociation/lists"}