Advertisement
Guest User

PAIRINGS

a guest
Jul 13th, 2014
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. aryM = ["Zeto","Klaire","Ethan"] # Male members of the cast
  2. aryF = ["Luna","Evelyn","Aria","Silvie","Ellis","Zephy","Capelle","Aura","Melody"] # Female members of the cast
  3. pair = Proc.new { |a| puts a[0] + "x" + a[1]
  4. }
  5. ary = (aryF | aryM).combination(2).to_a
  6. ary.each(&pair)
  7. puts "There are #{ary.length} pairings."
  8. ary = (aryM.product(aryF))
  9. ary.each(&pair)
  10. puts "There are #{ary.length} heterosexual pairings."
  11. ary = (aryF.combination(2).to_a)
  12. ary.each(&pair)
  13. puts "There are #{ary.length} YURI pairings."
  14.  
  15. puts "ZurexEvil castle"
  16. puts "There is 1 evil castle pairing."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement