るりまサーチ

最速Rubyリファレンスマニュアル検索!
48件ヒット [1-48件を表示] (0.151秒)
トップページ > クエリ:t[x] > クエリ:@[x] > 種類:インスタンスメソッド[x] > クエリ:string[x] > クラス:Shell::CommandProcessor[x]

別のキーワード

  1. openssl t61string
  2. asn1 t61string
  3. t61string new
  4. matrix t
  5. fiddle type_size_t

ライブラリ

キーワード

検索結果

Shell::CommandProcessor#expand_path(path) -> String (6315.0)

Fileクラスにある同名のクラスメソッドと同じです.

...Fileクラスにある同名のクラスメソッドと同じです.

@
param path ファイル名を表す文字列を指定します。

@
see File.expand_path...

Shell::CommandProcessor#ftype(filename) -> String (6215.0)

File クラスにある同名のクラスメソッドと同じです.

...File クラスにある同名のクラスメソッドと同じです.

@
param filename ファイル名を表す文字列を指定します。

@
see File.ftype...

Shell::CommandProcessor#split(pathname) -> [String] (6215.0)

File クラスにある同名のクラスメソッドと同じです.

...File クラスにある同名のクラスメソッドと同じです.

@
param pathname パス名を表す文字列を指定します。

@
see File.split...

Shell::CommandProcessor#basename(filename, suffix = "") -> String (221.0)

File クラスにある同名のクラスメソッドと同じです.

...File クラスにある同名のクラスメソッドと同じです.

@
param filename ファイル名を表す文字列を指定します。

@
param suffix サフィックスを文字列で与えます。'.*' という文字列を与えた場合、'*' はワイルドカードとして働き...

Shell::CommandProcessor#dirname(filename) -> String (215.0)

File クラスにある同名のクラスメソッドと同じです.

...File クラスにある同名のクラスメソッドと同じです.

@
param filename ファイル名を表す文字列を指定します。

@
see File.dirname...

絞り込み条件を変える

Shell::CommandProcessor#join(*item) -> String (215.0)

File クラスにある同名のクラスメソッドと同じです.

...File クラスにある同名のクラスメソッドと同じです.

@
param item 連結したいディレクトリ名やファイル名を文字列で与えます。

@
see File.join...

Shell::CommandProcessor#readlink(path) -> String (215.0)

File クラスにある同名のクラスメソッドと同じです.

...File クラスにある同名のクラスメソッドと同じです.

@
param path シンボリックリンクを表す文字列を指定します。

@
see File.readlink...

Shell::CommandProcessor#echo(*strings) -> Shell::Filter (208.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.chomp!
cat(f...
...ile).each { |l|
echo(l) | tee(file + ".tee") >> "all.tee"
}
}
}...