るりまサーチ

最速Rubyリファレンスマニュアル検索!
18件ヒット [1-18件を表示] (0.369秒)
トップページ > クエリ:Proc.new[x] > クエリ:ruby 1.8.2 feature[x] > クエリ:preprocess[x] > ライブラリ:shell[x] > 種類:特異メソッド[x]

別のキーワード

  1. argf.class lines
  2. argf.class each_line
  3. argf.class each
  4. argf.class set_encoding
  5. argf.class readlines

キーワード

検索結果

Shell::CommandProcessor.new(shell) (21103.0)

@todo

@todo

Shell::ProcessController.new(shell) (21103.0)

自身を初期化します。

...自身を初期化します。

@param shell Shell のインスタンスを指定します。...

Shell.undef_system_command(command) -> Shell::CommandProcessor (109.0)

commandを削除します.

...and 削除するコマンドの文字列を指定します。

動作例:
require 'shell'
Shell
.def_system_command("ls")
# ls を定義
Shell
.undef_system_command("ls")
# ls を 削除

sh = Shell.new
begin
sh.transact {
ls("-l").each {|l|
puts l
}
}
res...