Guest User

Untitled

a guest
Jun 15th, 2018
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. require "pessoa"
  2. require "solucao"
  3.  
  4. skywalker = "walker"
  5.  
  6. pessoas = [
  7. Pessoa.new( "Luke", "Sky#{ skywalker }", "luke@theforce.net" ),
  8. Pessoa.new( "Leia", "Sky#{ skywalker }", "leia@theforce.net" ),
  9. Pessoa.new( "Toula", "Portokalos", "toula@manhunter.net" ),
  10. Pessoa.new( "Gus", "Portokalos", "gus@weareallfruit.net" ),
  11. Pessoa.new( "Bruce", "Wayne", "batman@batman.com" ),
  12. Pessoa.new( "Virgil", "Brigman", "vigil@brigman.com" ),
  13. Pessoa.new( "Lindsay", "Brigman", "lindsay@brigman.com" ),
  14. ].shuffle
  15.  
  16. solucao = Solucao.new( pessoas )
  17. puts solucao.preencher_lista
Add Comment
Please, Sign In to add comment