Changes

Jump to: navigation, search

Ruby Variable Scope

No change in size, 21:15, 30 November 2007
Ruby Local Variables
== Ruby Local Variables ==
Local variables are local to the code construct in which they are declared. For example, a local variable declared in a method or within a loop cannot be accessed outside of that loop or method. Local variables name variable names must begin with either an underscore or a lower case letter. For example:
<pre>

Navigation menu