Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kennyfrc/address_bloc
a command line program
https://github.com/kennyfrc/address_bloc
Last synced: 28 days ago
JSON representation
a command line program
- Host: GitHub
- URL: https://github.com/kennyfrc/address_bloc
- Owner: kennyfrc
- Created: 2015-11-21T08:42:11.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-03T11:29:47.000Z (almost 9 years ago)
- Last Synced: 2023-03-08T21:11:19.923Z (over 1 year ago)
- Language: Ruby
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Patterns:
1. Creating a lexicographically correct address bookFlow Used:
1. Array#insert(index, input)
- inputs: you have a base entries array which a bunch of names
- against index, use a for / each loop with an iterating index
- once you see that your name input is < an entry, then you found the right index