Class: IRB::ExtendCommand::Load
Do not use. This class is for internal use only.
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Nop
|
|
Instance Chain:
self,
::IRB::IrbLoader ,
Nop
|
|
Inherits: |
IRB::ExtendCommand::Nop
|
Defined in: | lib/irb/cmd/load.rb |
Class Method Summary
Instance Attribute Summary
Nop
- Inherited
Instance Method Summary
::IRB::IrbLoader
- Included
#irb_load | Loads the given file similarly to |
#load_file | Loads the given file in the current session’s context and evaluates it. |
#ruby_load, #ruby_require, | |
#source_file | Loads a given file in the current session and displays the source lines. |
#old, #search_file_from_ruby_path |
Nop
- Inherited
Constructor Details
This class inherits a constructor from IRB::ExtendCommand::Nop
Instance Method Details
#execute(file_name, priv = nil)
[ GitHub ]# File 'lib/irb/cmd/load.rb', line 22
def execute(file_name, priv = nil) return irb_load(file_name, priv) end