method
run_config
ruby latest stable - Class:
Shell::CommandProcessor
run_config()public
include run file.
# File lib/shell/command-processor.rb, line 55
def self.run_config
rc = "~/.rb_shell"
begin
load File.expand_path(rc) if ENV.key?("HOME")
rescue LoadError, Errno::ENOENT
rescue
print "load error: #{rc}\n"
print $!.class, ": ", $!, "\n"
for err in $@[0, [email protected] - 2]
print "\t", err, "\n"
end
end
end Related methods
- Instance methods
- []
- append
- cat
- check_point
- concat
- echo
- expand_path
- find_system_command
- finish_all_jobs
- foreach
- glob
- mkdir
- notify
- open
- out
- rehash
- rmdir
- system
- tee
- test
- top_level_test
- transact
- unlink
- Class methods
- add_delegate_command_to_shell
- alias_command
- alias_map
- def_builtin_commands
- def_system_command
- initialize
- install_builtin_commands
- install_system_commands
- method_added
- new
- run_config
- unalias_command
- undef_system_command