module IRB::IrbLoader

def irb_load(fn, priv = nil)

Loads the given file similarly to Kernel#load
def irb_load(fn, priv = nil)
  path = search_file_from_ruby_path(fn)
  raise LoadError, "No such file to load -- #{fn}" unless path
  load_file(path, priv)
end