クラス
- Array (1)
- Shell (12)
-
Shell
:: CommandProcessor (9) -
Shell
:: Filter (9) -
Shell
:: ProcessController (3) -
Shell
:: SystemCommand (15)
キーワード
- active? (1)
-
active
_ jobs (1) - command (1)
- directory? (3)
- each (1)
-
find
_ system _ command (3) - flush (1)
- ftype (3)
- input= (1)
- jobs (2)
- kill (1)
- mkdir (3)
- name (1)
- notify (5)
- shelljoin (1)
- start (1)
-
start
_ export (1) -
start
_ import (1) - sticky? (3)
-
super
_ each (1) - symlink (3)
- symlink? (3)
- system (3)
-
system
_ path (1) -
system
_ path= (1) - terminate (1)
- wait? (1)
-
waiting
_ jobs (1)
検索結果
先頭5件
-
Shell
# symlink(old , new) -> 0 (36610.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param old ファイル名を表す文字列を指定します。
@param new シンボリックリンクを表す文字列を指定します。
@see File.symlink -
Shell
# symlink?(file) -> bool (36610.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#symlink? -
Shell
:: CommandProcessor # symlink(old , new) -> 0 (36607.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param old ファイル名を表す文字列を指定します。
@param new シンボリックリンクを表す文字列を指定します。
@see File.symlink -
Shell
:: CommandProcessor # symlink?(file) -> bool (36607.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#symlink? -
Shell
:: Filter # symlink(old , new) -> 0 (36607.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param old ファイル名を表す文字列を指定します。
@param new シンボリックリンクを表す文字列を指定します。
@see File.symlink -
Shell
:: Filter # symlink?(file) -> bool (36607.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#symlink? -
Shell
:: SystemCommand # kill(signal) -> Integer (36307.0) -
自身のプロセスにシグナルを送ります。
自身のプロセスにシグナルを送ります。
@param signal シグナルを整数かその名前の文字列で指定します。
負の値を持つシグナル(あるいはシグナル名の前に-)を指定すると、
プロセスではなくプロセスグループにシグナルを送ります。
@see Process.#kill -
Shell
# system(command , *opts) -> Shell :: SystemCommand (27946.0) -
command を実行する.
...で指定します。
@param opts command のオプションを文字列で指定します。複数可。
使用例:
require 'shell'
Shell.verbose = false
sh = Shell.new
print sh.system("ls", "-l")
Shell.def_system_command("head")
sh.system("ls", "-l") | sh.head("-n 3") > STDOUT... -
Shell
:: CommandProcessor # system(command , *opts) -> Shell :: SystemCommand (27943.0) -
command を実行する.
...で指定します。
@param opts command のオプションを文字列で指定します。複数可。
使用例:
require 'shell'
Shell.verbose = false
sh = Shell.new
print sh.system("ls", "-l")
Shell.def_system_command("head")
sh.system("ls", "-l") | sh.head("-n 3") > STDOUT... -
Shell
:: Filter # system(command , *opts) -> Shell :: SystemCommand (27943.0) -
command を実行する.
...で指定します。
@param opts command のオプションを文字列で指定します。複数可。
使用例:
require 'shell'
Shell.verbose = false
sh = Shell.new
print sh.system("ls", "-l")
Shell.def_system_command("head")
sh.system("ls", "-l") | sh.head("-n 3") > STDOUT... -
Shell
# directory?(file) -> bool (27610.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#directory? -
Shell
# ftype(filename) -> String (27610.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.ftype -
Shell
# sticky?(file) -> bool (27610.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#sticky? -
Shell
:: CommandProcessor # directory?(file) -> bool (27607.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#directory? -
Shell
:: CommandProcessor # ftype(filename) -> String (27607.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.ftype -
Shell
:: CommandProcessor # sticky?(file) -> bool (27607.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#sticky? -
Shell
:: Filter # directory?(file) -> bool (27607.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#directory? -
Shell
:: Filter # ftype(filename) -> String (27607.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.ftype -
Shell
:: Filter # sticky?(file) -> bool (27607.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#sticky? -
Shell
# find _ system _ command(command) (27310.0) -
@todo
@todo -
Shell
# notify(*opts) { . . . } -> () (27310.0) -
@todo
@todo -
Shell
# system _ path -> Array (27310.0) -
コマンドサーチパスの配列を返す。
...コマンドサーチパスの配列を返す。
@param path コマンドサーチパスの配列を指定します。
使用例
require 'shell'
sh = Shell.new
sh.system_path = [ "./" ]
p sh.system_path #=> ["./"]... -
Shell
# system _ path=(path) (27310.0) -
コマンドサーチパスの配列を返す。
...コマンドサーチパスの配列を返す。
@param path コマンドサーチパスの配列を指定します。
使用例
require 'shell'
sh = Shell.new
sh.system_path = [ "./" ]
p sh.system_path #=> ["./"]... -
Array
# shelljoin -> String (27307.0) -
配列の各要素である文字列に対して、Bourne シェルのコマンドライン中で安全に 使えるためのエスケープを適用し、空白文字を介してそれらを連結したコマンド ライン文字列を生成します。
...スケープを適用し、空白文字を介してそれらを連結したコマンド
ライン文字列を生成します。
array.shelljoin は、Shellwords.shelljoin(array) と等価です。
@return エスケープ結果を連結した文字列を返します。
@see Shellwords.#shelljoin... -
Shell
:: CommandProcessor # find _ system _ command(command) (27307.0) -
@todo
@todo -
Shell
:: CommandProcessor # notify(*opts) { . . . } -> () (27307.0) -
@todo
@todo -
Shell
:: Filter # find _ system _ command(command) (27307.0) -
@todo
@todo -
Shell
:: Filter # notify(*opts) { . . . } -> () (27307.0) -
@todo
@todo -
Shell
:: SystemCommand # flush -> () (27307.0) -
@todo
@todo -
Shell
:: SystemCommand # notify(*opts) -> String (27307.0) -
@todo
...@todo
@param opts
@see Shell#notify... -
Shell
:: SystemCommand # notify(*opts) {|message| . . . } -> String (27307.0) -
@todo
...@todo
@param opts
@see Shell#notify... -
Shell
:: ProcessController # active _ jobs -> Array (18307.0) -
実行中のジョブの配列を返します。
実行中のジョブの配列を返します。 -
Shell
:: ProcessController # jobs -> Array (18307.0) -
全てのジョブの配列を返します。
全てのジョブの配列を返します。 -
Shell
:: ProcessController # waiting _ jobs -> Array (18307.0) -
待機中のジョブを返します。
待機中のジョブを返します。 -
Shell
:: SystemCommand # active? -> bool (18307.0) -
@todo
@todo -
Shell
:: SystemCommand # each(rs = nil) {|line| . . . } (18307.0) -
@todo
@todo
@param rs -
Shell
:: SystemCommand # wait? -> bool (18307.0) -
@todo
@todo -
Shell
:: SystemCommand # command -> String (18007.0) -
@todo
@todo
コマンド名を返します。 -
Shell
:: SystemCommand # input=(inp) (18007.0) -
@todo
@todo -
Shell
:: SystemCommand # name -> String (18007.0) -
@todo
@todo
コマンド名を返します。 -
Shell
:: SystemCommand # start -> () (18007.0) -
@todo
@todo -
Shell
:: SystemCommand # start _ export (18007.0) -
@todo
@todo -
Shell
:: SystemCommand # start _ import -> () (18007.0) -
@todo
@todo -
Shell
:: SystemCommand # super _ each -> () (18007.0) -
@todo
...@todo
Shell::Filter#each です。... -
Shell
:: SystemCommand # terminate -> () (18007.0) -
@todo
@todo -
Shell
# jobs -> Array (9310.0) -
スケジューリングされているjobの一覧を返します。
スケジューリングされているjobの一覧を返します。 -
Shell
# mkdir(*path) -> Array (9310.0) -
Dir.mkdirと同じです。 (複数可)
...ram path 作成するディレクトリ名を文字列で指定します。
@return 作成するディレクトリの一覧の配列を返します。
使用例
require 'shell'
Shell.verbose = false
sh = Shell.new
begin
p sh.mkdir("foo") #=> ["foo"]
rescue => err
puts err
end... -
Shell
:: CommandProcessor # mkdir(*path) -> Array (9307.0) -
Dir.mkdirと同じです。 (複数可)
...ram path 作成するディレクトリ名を文字列で指定します。
@return 作成するディレクトリの一覧の配列を返します。
使用例
require 'shell'
Shell.verbose = false
sh = Shell.new
begin
p sh.mkdir("foo") #=> ["foo"]
rescue => err
puts err
end... -
Shell
:: Filter # mkdir(*path) -> Array (9307.0) -
Dir.mkdirと同じです。 (複数可)
...ram path 作成するディレクトリ名を文字列で指定します。
@return 作成するディレクトリの一覧の配列を返します。
使用例
require 'shell'
Shell.verbose = false
sh = Shell.new
begin
p sh.mkdir("foo") #=> ["foo"]
rescue => err
puts err
end...