-
-
Save marianposaceanu/6391849 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module KawaiiPhrase | |
# Makes awesome random phrases such as "Enjoyable Green Turtle" | |
ADJ_1 = [ | |
'epic', | |
'tasty', | |
'shiny', | |
'mega', | |
'ultra', | |
'hyper', | |
'strong', | |
'positive', | |
'happy', | |
'enjoyable', | |
'fun', | |
'dashing', | |
'splendid', | |
'uber', | |
'awesome', | |
'hipster', | |
'friendly' | |
] | |
ADJ_2 = [ | |
'green', | |
'red', | |
'blue', | |
'yellow', | |
'orange', | |
'verdant', | |
'cerulean', | |
'mauve', | |
'chartreuse', | |
'white', | |
'black', | |
'silver', | |
'platinum', | |
'violet', | |
'cyan', | |
'veridian', | |
'lavender', | |
'fuchsia', | |
'speckled', | |
'spotted', | |
'striped', | |
'metallic' | |
] | |
NOUN = [ | |
'turtle', | |
'ostrich', | |
'penguin', | |
'badger', | |
'platypus', | |
'squirrel', | |
'leopard', | |
'cat', | |
'dolphin', | |
'magikarp', | |
'lizard', | |
'grasshopper', | |
'frog', | |
'cheetah', | |
'wallaby', | |
'kangaroo', | |
'giraffe', | |
'koala', | |
'parrot', | |
'fox', | |
'tiger' | |
] | |
def self.new | |
"#{ADJ_1.sample.capitalize} #{ADJ_2.sample} #{NOUN.sample}." | |
end | |
end | |
10.times do | |
puts KawaiiPhrase.new | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment