Class: IRB::ExtendCommand::Load

Inherits:
Nop show all
Includes:
IrbLoader
Defined in:
lib/irb/cmd/load.rb

Instance Attribute Summary

Attributes inherited from Nop

#irb_context

Instance Method Summary collapse

Methods included from IrbLoader

#irb_load, #load_file, #old, #search_file_from_ruby_path, #source_file

Methods inherited from Nop

execute, #initialize, #irb

Constructor Details

This class inherits a constructor from IRB::ExtendCommand::Nop

Instance Method Details

#execute(file_name, priv = nil) ⇒ Object



22
23
24
# File 'lib/irb/cmd/load.rb', line 22

def execute(file_name, priv = nil)
  return irb_load(file_name, priv)
end