Ruby Code Snippet
In Ruby a switch statement looks like this
say = "Hello"
case say
when "Hello" then
puts "Say Hello"
when "Bye" then
puts "Say Bye"
end
In PHP a switch statement looks like this
In Ruby a switch statement looks like this
say = "Hello"
case say
when "Hello" then
puts "Say Hello"
when "Bye" then
puts "Say Bye"
end
In PHP a switch statement looks like this
|
|
|
Recent Listened to TracksMetro Station - California on Nov 28, 2008 - 11:07:18 PM Acceptance - The Letter on Nov 24, 2008 - 12:21:51 PM Mae - Summertime on Nov 24, 2008 - 12:17:44 PM Saves the Day - 1959 on Nov 24, 2008 - 12:17:07 PM Chiodos - Interlude Pt 1 on Nov 24, 2008 - 12:16:05 PM
|
Bad Behavior has blocked 271 access attempts in the last 7 days.