Changes

Simple Ruby Examples

31 bytes added, 14:59, 19 March 2009
Interactive Ruby Execution
== Interactive Ruby Execution ==
<google>ADSDAQBOX_FLOW</google>
In the [[What is Ruby?]] we discussed the fact that Ruby is an interpreted language. This essentially means that Ruby source code is compiled and executed at run time, rather than pre-compiled as is the case with languages such as C or C++. One of the advantages of being an interpreted language is that we can write Ruby code directly into the interpreter and have it executed in real-time. This is a great way to learn Ruby and to try out different code structures.