v2_1_10 - Show latest stable - 0 notes - Class: Process
argv0() public

Returns the name of the script being executed. The value is not affected by assigning a new value to $0.

This method first appeared in Ruby 2.1 to serve as a global variable free means to get the script name.

Show source
Register or log in to add new notes.