method

load_file

v2_1_10 - Show latest stable - Class: IRB::IrbLoader
load_file(path, priv = nil)
public

Loads the given file in the current session’s context and evaluates it.

See Irb#suspend_input_method for more information.