るりまサーチ

最速Rubyリファレンスマニュアル検索!
114件ヒット [1-100件を表示] (0.044秒)
トップページ > クエリ:String[x] > クエリ:shell[x] > クエリ:command[x]

別のキーワード

  1. string []=
  2. string slice!
  3. string slice
  4. string []
  5. string gsub!

検索結果

<< 1 2 > >>

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...
<< 1 2 > >>