{"id":17942497,"url":"https://github.com/petercamilleri/flex_array","last_synced_at":"2026-01-19T08:32:30.795Z","repository":{"id":13491213,"uuid":"16181720","full_name":"PeterCamilleri/flex_array","owner":"PeterCamilleri","description":"A flexible multi-dimensional array gem for Ruby.","archived":false,"fork":false,"pushed_at":"2021-05-19T15:26:06.000Z","size":462,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T09:15:13.899Z","etag":null,"topics":["dynamic-array","multidimensional-arrays","ruby"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PeterCamilleri.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-01-23T18:41:33.000Z","updated_at":"2023-03-05T04:20:47.000Z","dependencies_parsed_at":"2022-09-04T04:20:59.521Z","dependency_job_id":null,"html_url":"https://github.com/PeterCamilleri/flex_array","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterCamilleri%2Fflex_array","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterCamilleri%2Fflex_array/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterCamilleri%2Fflex_array/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeterCamilleri%2Fflex_array/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PeterCamilleri","download_url":"https://codeload.github.com/PeterCamilleri/flex_array/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247809992,"owners_count":20999821,"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":["dynamic-array","multidimensional-arrays","ruby"],"created_at":"2024-10-29T03:05:51.621Z","updated_at":"2026-01-19T08:32:30.758Z","avatar_url":"https://github.com/PeterCamilleri.png","language":"Ruby","readme":"# The flex array gem.\r\n\r\nThis project contains the Ruby FlexArray gem. A gem used to facilitate the\r\ncreation and processing of multi-dimensional arrays in a flexible manner.\r\n\r\n## Installation\r\n\r\nAdd this line to your application's Gemfile:\r\n\r\n```ruby\r\ngem 'flex_array'\r\n```\r\n\r\nAnd then execute:\r\n\r\n    $ bundle\r\n\r\nOr install it yourself as:\r\n\r\n    $ gem install flex_array\r\n\r\nThe flex_array gem itself is found at: ( https://rubygems.org/gems/flex_array )\r\n\r\n## Usage\r\n\r\nUsing flex_array in an application can be as simple as:\r\n```ruby\r\nrequire 'flex_array'\r\n\r\narr1 = FlexArray.new([10,10])                       # 10 by 10 of nil\r\narr2 = FlexArray.new([10,10], 0)                    # 10 by 10 of zero\r\narr2 = FlexArray.new([1..12,1..12]) {|i| i[0]*i[1]} # Times table.\r\n\r\narr2[4..5,4..5] = 42 #Set the middle of the array.\r\n\r\n```\r\n\r\nA lot more information on the operation of this gem may be found in the docs\r\nfolder in the Flex_Array_UG, available in both open office (.odt) and portable\r\ndocument (.pdf) formats.\r\n\r\n## Contributing\r\n\r\n#### Plan A\r\n\r\n1. Fork it ( https://github.com/PeterCamilleri/flex_array/fork )\r\n2. Switch to the development branch ('git branch development')\r\n3. Create your feature branch ('git checkout -b my-new-feature')\r\n4. Commit your changes ('git commit -am \"Add some feature\"')\r\n5. Push to the branch ('git push origin my-new-feature')\r\n6. Create new Pull Request\r\n\r\n#### Plan B\r\n\r\nGo to the GitHub repository and raise an issue calling attention to some\r\naspect that could use some TLC or a suggestion or an idea.\r\n\r\n## License\r\n\r\nThe gem is available as open source under the terms of the\r\n[MIT License](./LICENSE.txt).\r\n\r\n## Code of Conduct\r\n\r\nEveryone interacting in the fully_freeze project’s codebases, issue trackers,\r\nchat rooms and mailing lists is expected to follow the\r\n[code of conduct](./CODE_OF_CONDUCT.md).\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetercamilleri%2Fflex_array","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpetercamilleri%2Fflex_array","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpetercamilleri%2Fflex_array/lists"}