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 TracksLoading... |
Bad Behavior has blocked 114 access attempts in the last 7 days.