Class: IRB::Command::LoaderCommand

Inherits:
Base show all
Includes:
RubyArgsExtractor, IrbLoader
Defined in:
lib/irb/command/load.rb

Direct Known Subclasses

Load, Require, Source

Instance Attribute Summary

Attributes inherited from Base

#irb_context

Instance Method Summary collapse

Methods included from IrbLoader

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

Methods included from RubyArgsExtractor

#ruby_args, #unwrap_string_literal

Methods inherited from Base

category, description, #execute, execute, help_message, #initialize

Constructor Details

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

Instance Method Details

#raise_cmd_argument_errorObject



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

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