module RandomYoMamaJokes
Constants
- VERSION
Public Class Methods
whatsyourname(name)
click to toggle source
# File lib/random_yo_mama_jokes.rb, line 4 def self.whatsyourname(name) yo_mama1 = "Hey, #{name}! Yo mama is so ugly that goldfish crackers don't smile back!" yo_mama2 = "Hey, #{name}! Yo mama is so old that when she farts, dust comes out!" yo_mama3 = "Hey, #{name}! Yo mama is so stupid she thought grape nuts was an STD!" yo_mama4 = "Hey, #{name}! Yo mama is so ugly Bob the Builder screamed," + "'I can't fix that'!" yo = [yo_mama1,yo_mama2, yo_mama3, yo_mama4] yo.sample end