Skip to content

Ruby Global $PROGRAM_NAME (DollarPROGRAMUnderscoreNAME)

☈king edited this page Jan 30, 2013 · 5 revisions

The $PROGRAM_NAME global contains the name of the script being executed.

May be assignable to affect the listing in 'ps' output.

Same as $0

Clone this wiki locally