Class: IRB::ExtendCommand::Load
- Includes:
- IrbLoader
- Defined in:
- lib/irb/cmd/load.rb
Instance Attribute Summary
Attributes inherited from Nop
Instance Method Summary collapse
Methods included from IrbLoader
#irb_load, #load_file, #old, #search_file_from_ruby_path, #source_file
Methods inherited from Nop
Constructor Details
This class inherits a constructor from IRB::ExtendCommand::Nop
Instance Method Details
#execute(file_name, priv = nil) ⇒ Object
21 22 23 24 |
# File 'lib/irb/cmd/load.rb', line 21 def execute(file_name, priv = nil) # return ruby_load(file_name) unless IRB.conf[:USE_LOADER] return irb_load(file_name, priv) end |