Class: IRB::ExtendCommand::LoaderCommand

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

Direct Known Subclasses

Load, Require, Source

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

category, description, execute, #execute, #initialize

Constructor Details

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

Instance Method Details

#raise_cmd_argument_errorObject



17
18
19
# File 'lib/irb/cmd/load.rb', line 17

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