-
-
Save djanatyn/8c01001f6880055b3183 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
da Boss: | |
- Humberto Ortiz-Zuazaga: | |
phone: '' | |
De Novo Sequencing Project: | |
- Ivan Jimenez Ruiz: | |
phone: '' | |
- Israel Dilan Pantojas: | |
phone: '7872414148' | |
SalHUD Project: | |
- Roberto Arce Corretjer: #are there any other members??? | |
phone: '' | |
TCGAnalysis Project: | |
- Cindy Frias Flores: #yeah I have to ask Humberto about the lab projects and who are their members | |
phone: '' | |
Flows Project: | |
- Bianca Colon Rosado: | |
phone: '' | |
- Grace Rodriguez: | |
phone: '' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[1] pry(main)> require 'yaml' | |
=> true | |
[2] pry(main)> phone_numbers = YAML.load_file('phone.yml') | |
=> {"da Boss"=>[{"Humberto Ortiz-Zuazaga"=>nil, "phone"=>""}], | |
"De Novo Sequencing Project"=> | |
[{"Ivan Jimenez Ruiz"=>nil, "phone"=>""}, | |
{"Israel Dilan Pantojas"=>nil, "phone"=>"7872414148"}], | |
"SalHUD Project"=>[{"Roberto Arce Corretjer"=>nil, "phone"=>""}], | |
"TCGAnalysis Project"=>[{"Cindy Frias Flores"=>nil, "phone"=>""}], | |
"Flows Project"=> | |
[{"Bianca Colon Rosado"=>nil, "phone"=>""}, | |
{"Grace Rodriguez"=>nil, "phone"=>""}]} | |
[3] pry(main)> phone_numbers.keys | |
=> ["da Boss", | |
"De Novo Sequencing Project", | |
"SalHUD Project", | |
"TCGAnalysis Project", | |
"Flows Project"] | |
[4] pry(main)> phone_numbers['De Novo Sequencing Project'] | |
=> [{"Ivan Jimenez Ruiz"=>nil, "phone"=>""}, | |
{"Israel Dilan Pantojas"=>nil, "phone"=>"7872414148"}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment