class IRB::Locale
def load(file)
def load(file) found = find(file) if found unless @@loaded.include?(found) @@loaded << found # cache Kernel.load(found) end else raise LoadError, "No such file to load -- #{file}" end end
def load(file) found = find(file) if found unless @@loaded.include?(found) @@loaded << found # cache Kernel.load(found) end else raise LoadError, "No such file to load -- #{file}" end end