Skip to content

Instantly share code, notes, and snippets.

Created September 17, 2012 11:49
Show Gist options
  • Save anonymous/7fcc629ed505bb145e06 to your computer and use it in GitHub Desktop.
Save anonymous/7fcc629ed505bb145e06 to your computer and use it in GitHub Desktop.
def raw(male_in, female_in)
female = female_in
male = male_in
if !conditions(male, female)
raw(self.male_list.sample(1), self.female_list.sample(1))
else
perfect_match = []
perfect_match << female
perfect_match << male
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment