123456789_123456789_123456789_123456789_123456789_

Class: IRB::Command::LoaderCommand

Do not use. This class is for internal use only.
Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Subclasses:
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Base
Instance Chain:
Inherits: IRB::Command::Base
Defined in: lib/irb/command/load.rb

Class Method Summary

Instance Attribute Summary

Base - Inherited

Instance Method Summary

::IRB::IrbLoader - Included

#irb_load

Loads the given file similarly to Kernel.load

#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

RubyArgsExtractor - Included

Base - Inherited

Constructor Details

This class inherits a constructor from IRB::Command::Base

Instance Method Details

#raise_cmd_argument_error

[ GitHub ]

  
# File 'lib/irb/command/load.rb', line 16

def raise_cmd_argument_error
  raise CommandArgumentError.new("Please specify the file name.")
end