method
load
ruby latest stable - Class:
OptionParser
load(filename = nil)public
Loads options from file names as filename. Does nothing when the file is not present. Returns whether successfully loaded.
filename defaults to basename of the program without suffix in a directory ~/.options.