default_system_path -> Array
[permalink][rdoc]default_system_path=(path)
Shellでもちいられるコマンドを検索する対象のパスを設定および、参照します。
動作例
require 'shell' p Shell.default_system_path # 例 #=> [ "/opt/local/bin", "/opt/local/sbin", "/usr/bin", "/bin", "/usr/sbin", "/sbin", "/usr/local/bin", "/usr/X11/bin", "/Users/kouya/bin"] Shell.default_system_path = ENV["HOME"] + "/bin" p Shell.default_system_path # => "/Users/kouya/bin"