I like mechanlicalfish's answer for a card but for a cake I would suggest:
@my_special_nerd = "Kyle"
puts "Happy Birthday #{@my_special_nerd}"
Just so you know, @my_special_nerd = "Kyle"
assigns a variable called special nerd with the String Kyle. Kinda of like x =
that you learned in Algebra but you can put sentences on the right side.
puts
tells the program to print the program to standard output which is usually the programmer's screen.
"Happy Birthday ..."
is a string. Strings are how we store sentences that programmers can read.
"Happy Birthday #{@my_special_nerd}"
so #{@my_special_nerd}
tells Ruby to replace the variable @my_special_nerd
with the value Kyle.
If there program was run using Ruby, it would print to the programmer's screen:
Happy Birthday Kyle
p "happy birthday to a special nerd"
Dunno if that's got the right aesthetic.