114件ヒット
[1-100件を表示]
(0.051秒)
種類
- インスタンスメソッド (96)
- 特異メソッド (12)
- 定数 (6)
ライブラリ
-
drb
/ extservm (12) - shell (6)
-
shell
/ command-processor (54) -
shell
/ filter (18) -
shell
/ system-command (24)
クラス
-
DRb
:: ExtServManager (12) - Shell (6)
-
Shell
:: CommandProcessor (54) -
Shell
:: Filter (18) -
Shell
:: SystemCommand (24)
検索結果
先頭5件
-
Shell
:: SystemCommand # command -> String (24203.0) -
@todo
@todo
コマンド名を返します。 -
DRb
:: ExtServManager . command -> { String => String|[String] } (18422.0) -
サービスを起動するためのコマンドを指定するための Hash を 返します。
...DRb::ExtServManager.command= で Hash 自体を
変更することでも同じことができます。
コマンドは文字列、もしくは文字列の配列で指定します。
文字列で指定した場合は Kernel.#spawn で
プロセスを起動する際に shell 経由で起動されま......す。
文字列の配列で指定すると shell を経由せずに起動されます。... -
Shell
# echo(*strings) -> Shell :: Filter (17225.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...を内容とする Filter オブジェクトを返します.
@param strings シェルコマンド echo に与える引数を文字列で指定します。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |file|
file... -
Shell
:: SystemCommand # name -> String (9103.0) -
@todo
@todo
コマンド名を返します。 -
Shell
:: CommandProcessor # echo(*strings) -> Shell :: Filter (6225.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...を内容とする Filter オブジェクトを返します.
@param strings シェルコマンド echo に与える引数を文字列で指定します。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |file|
file... -
Shell
:: SystemCommand # notify(*opts) -> String (6108.0) -
@todo
...@todo
@param opts
@see Shell#notify... -
Shell
:: SystemCommand # notify(*opts) {|message| . . . } -> String (6108.0) -
@todo
...@todo
@param opts
@see Shell#notify... -
Shell
:: CommandProcessor # basename(filename , suffix = "") -> String (6101.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@param suffix サフィックスを文字列で与えます。'.*' という文字列を与えた場合、'*' はワイルドカードとして働き
'.' を含まない任意の文字列にマッチします。
@see File.basename -
Shell
:: CommandProcessor # dirname(filename) -> String (6101.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.dirname -
Shell
:: CommandProcessor # expand _ path(path) -> String (6101.0) -
Fileクラスにある同名のクラスメソッドと同じです.
Fileクラスにある同名のクラスメソッドと同じです.
@param path ファイル名を表す文字列を指定します。
@see File.expand_path -
Shell
:: CommandProcessor # ftype(filename) -> String (6101.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.ftype -
Shell
:: CommandProcessor # join(*item) -> String (6101.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param item 連結したいディレクトリ名やファイル名を文字列で与えます。
@see File.join -
Shell
:: CommandProcessor # readlink(path) -> String (6101.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param path シンボリックリンクを表す文字列を指定します。
@see File.readlink -
Shell
:: CommandProcessor # split(pathname) -> [String] (6101.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param pathname パス名を表す文字列を指定します。
@see File.split -
Shell
:: CommandProcessor :: NoDelegateMethods -> [String] (6101.0) -
内部で使用する定数です。
内部で使用する定数です。 -
Shell
:: Filter # echo(*strings) -> Shell :: Filter (3225.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...を内容とする Filter オブジェクトを返します.
@param strings シェルコマンド echo に与える引数を文字列で指定します。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |file|
file...