Skip to content

Ruby Global $PROGRAM_NAME (DollarPROGRAMUnderscoreNAME)

☈king edited this page Nov 8, 2012 · 5 revisions

Ruby Global $PROGRAM_NAME (DollarPROGRAMUnderscoreNAME)

The $PROGRAM_NAME global Same as $0 - Contains the name of the script being executed. May be assignable. @example

Clone this wiki locally