Saturday, April 14, 2012

[Ruby] If-Then-Else Syntax

          Hello, Reader ^^! Back again with source code. This time is a basic syntax If-Then-Else in Ruby programming language. This source code is to show how to do If-Then-Else statement in Ruby language. Here's the template:


if <condition>
       <statement if true> 
else
       <statement if false>
end


Okay, that's all I can say. Thank you for reading ^^!

Download/View Source Code
Dropbox
Dropbox (Repository)
GitHub
GitHub (Repository)







No comments:

Post a Comment