るりまサーチ

最速Rubyリファレンスマニュアル検索!
210件ヒット [1-100件を表示] (0.142秒)

別のキーワード

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

ライブラリ

キーワード

検索結果

<< 1 2 3 > >>

Shell#dirname(filename) -> String (23302.0)

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

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

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

@see File.dirname...

Shell#dir_stack -> [String] (23203.0)

@todo

@todo

Shell#basename(filename, suffix = "") -> String (23202.0)

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

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

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

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

@see File.basename...

Shell#expand_path(path) -> String (23202.0)

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

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

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

@see File.expand_path...

Shell#readlink(path) -> String (23202.0)

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

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

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

@see File.readlink...

絞り込み条件を変える

Shell#record_separator -> String (23202.0)

@todo

@todo

String#shellescape -> String (21314.0)

文字列を Bourne シェルのコマンドライン中で安全に使えるようにエスケープします。

...文字列を Bourne シェルのコマンドライン中で安全に使えるようにエスケープします。

string
.shellescape は、Shellwords.escape(string) と等価です。

@return エスケープされた文字列を返します。
@see Shellwords.#shellescape...

Etc::Passwd#shell -> String (21203.0)

このユーザのログインシェルを返します。

このユーザのログインシェルを返します。

Shell#dirs -> [String] (20103.0)

@todo

@todo

Shell#echo(*strings) -> Shell::Filter (17226.0)

実行すると, それらを内容とする 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(file).each { |l|
echo...
...(l) | tee(file + ".tee") >> "all.tee"
}
}
}...

絞り込み条件を変える

Shell#ftype(filename) -> String (17202.0)

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

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

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

@see File.ftype...

Shell#split(pathname) -> [String] (17202.0)

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

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

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

@see File.split...

Shell::SystemCommand#command -> String (12203.0)

@todo

@todo

コマンド名を返します。

Shell::SystemCommand#name -> String (12203.0)

@todo

@todo

コマンド名を返します。

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

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

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

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

@see File.expand_path...

絞り込み条件を変える

<< 1 2 3 > >>