Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- aryM = ["Zeto","Klaire","Ethan"] # Male members of the cast
- aryF = ["Luna","Evelyn","Aria","Silvie","Ellis","Zephy","Capelle","Aura","Melody"] # Female members of the cast
- pair = Proc.new { |a| puts a[0] + "x" + a[1]
- }
- ary = (aryF | aryM).combination(2).to_a
- ary.each(&pair)
- puts "There are #{ary.length} pairings."
- ary = (aryM.product(aryF))
- ary.each(&pair)
- puts "There are #{ary.length} heterosexual pairings."
- ary = (aryF.combination(2).to_a)
- ary.each(&pair)
- puts "There are #{ary.length} YURI pairings."
- puts "ZurexEvil castle"
- puts "There is 1 evil castle pairing."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement