るりまサーチ (Ruby 2.3.0)

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

別のキーワード

  1. ftp ls
  2. net/ftp ls
  3. ls net/ftp
  4. ls net::ftp
  5. ls

ライブラリ

モジュール

検索結果

RakeFileUtils#verbose(value = nil) { ... } (63361.0)

詳細を出力するかどうかを制御します。

詳細を出力するかどうかを制御します。

@param value 真を指定すると詳細を出力します。


verbose # 現在の状態を返します。
verbose(v) # 与えられた状態に変更します。
verbose(v) { code } # ブロックを評価する間だけ与えられた状態に変更します。
# ブロックの評価が終わると元の値に戻します。

Shell#system(command, *opts) -> Shell::SystemCommand (58.0)

command を実行する.

command を実行する.

@param command 実行するコマンドのパスを文字列で指定します。

@param opts command のオプションを文字列で指定します。複数可。

使用例:

require 'shell'
Shell.verbose = false
sh = Shell.new

print sh.system("ls", "-l")
Shell.def_system_command("head")
sh.system("ls", "-l") | sh.head("-n 3") > STDOUT

Shell::CommandProcessor#system(command, *opts) -> Shell::SystemCommand (58.0)

command を実行する.

command を実行する.

@param command 実行するコマンドのパスを文字列で指定します。

@param opts command のオプションを文字列で指定します。複数可。

使用例:

require 'shell'
Shell.verbose = false
sh = Shell.new

print sh.system("ls", "-l")
Shell.def_system_command("head")
sh.system("ls", "-l") | sh.head("-n 3") > STDOUT

Shell::Filter#system(command, *opts) -> Shell::SystemCommand (58.0)

command を実行する.

command を実行する.

@param command 実行するコマンドのパスを文字列で指定します。

@param opts command のオプションを文字列で指定します。複数可。

使用例:

require 'shell'
Shell.verbose = false
sh = Shell.new

print sh.system("ls", "-l")
Shell.def_system_command("head")
sh.system("ls", "-l") | sh.head("-n 3") > STDOUT