Changes

Jump to: navigation, search

Ruby Variable Scope

24 bytes added, 18:56, 15 November 2007
Ruby Global Variables
It is useful to know, however, that a number of pre-defined global variables are available to you as a Ruby developer to obtain information about the Ruby enviroment. A brief summary of each of these variables is contained in the following table.
<table border="1" cellspacing="0"><trstyle="background:#efefef;"><tdth>Name Begins With<codeth>$!Variable Scope</code> </td><td> The latest error message </td></trth>
<tr><td>
<code>$@</code> </td><td> The location of latest error </td></tr>

Navigation menu