Saturday, April 14, 2012

[Ruby] Procedure Syntax

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


def <ProcedureName>(<input1>,...,<inputN>)
       <Statement>
end

Note:  <input1>,...,<inputN>  is optional, only use it if there is input required in the function

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