Skip to content

Instantly share code, notes, and snippets.

@xenda
Created April 10, 2013 02:02
Show Gist options
  • Save xenda/5351150 to your computer and use it in GitHub Desktop.
Save xenda/5351150 to your computer and use it in GitHub Desktop.
Generador de respuestas de exámenes para UPC
grades = %w{Eficiente Amigable Código Reutilizable Simple Desarrollo}
liason = ["respuesta que podemos identificar como", "avanzado que podría calicarse de", "y práctico ", "orientado a"]
response = (1..5).to_a.map{|i| grades.sample }
puts response.zip(liason).join(" ")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment