Skip to content

Instantly share code, notes, and snippets.

@djanatyn
Forked from anonymous/-
Last active February 18, 2016 00:29
Show Gist options
  • Save djanatyn/8c01001f6880055b3183 to your computer and use it in GitHub Desktop.
Save djanatyn/8c01001f6880055b3183 to your computer and use it in GitHub Desktop.
---
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: ''
[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