Skip to content

Instantly share code, notes, and snippets.

Created November 8, 2017 20:40
What would you like to do?
The Most Important Ruby Script
#!/usr/bin/env ruby
ethic = ['lawful', 'neutral', 'chaotic']
moral = ['good', 'neutral', 'evil']
r =
e = ethic[r.rand(3)]
m = moral[r.rand(3)]
if e == m
e = 'true'
puts "#{e.capitalize} #{m.capitalize}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment