= private = protected
irb_load(fn, priv = nil)
Loads the given file similarly to Kernel#load
# File lib/irb/ext/loader.rb, line 27 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