るりまサーチ

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

別のキーワード

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

ライブラリ

キーワード

検索結果

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

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

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

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

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

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

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

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

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

@
see File.dirname...

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

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

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

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

@
see File.expand_path...

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

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

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

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

@
see File.ftype...

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

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

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

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

@
see File.join...

絞り込み条件を変える

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

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

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

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

@
see File.readlink...

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

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

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

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

@
see File.split...

Shell::CommandProcessor#echo(*strings) -> Shell::Filter (108.0)

実行すると, それらを内容とする Filter オブジェクトを返します.

...実行すると, それらを内容とする Filter オブジェクトを返します.

@
param strings シェルコマンド echo に与える引数を文字列で指定します。

動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_...