Created
April 5, 2012 03:29
-
-
Save ayumi/2307738 to your computer and use it in GitHub Desktop.
Random positive 3-word phrase generator (e.g. "Enjoyable Green Turtle")
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} #{ADJ_2.sample} #{NOUN.sample}" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just lovely ! :-)