120件ヒット
[101-120件を表示]
(0.134秒)
ライブラリ
- ビルトイン (60)
-
irb
/ cmd / help (12) -
irb
/ extend-command (12) - pty (12)
- rake (12)
- win32ole (12)
クラス
-
IRB
:: ExtendCommand :: Help (12) -
PTY
:: ChildExited (12) -
Process
:: Status (12) - Thread (48)
- WIN32OLE (12)
モジュール
- FileUtils (12)
-
IRB
:: ExtendCommandBundle (12)
検索結果
-
IRB
:: ExtendCommand :: Help # execute(*names) -> nil (3007.0) -
RI から Ruby のドキュメントを参照します。
...Enter the method name you want to look up.
You can use tab to autocomplete.
Enter a blank line to exit.
>> String#match
String#match
(from ruby core)
------------------------------------------------------------------------------
str.match(pattern) -> matchdata or nil
s......tr.match(pattern, pos) -> matchdata or nil
...... -
FileUtils
# sh(*cmd) {|result , status| . . . } (107.0) -
与えられたコマンドを実行します。
...aram cmd 引数の解釈に関しては Kernel.#exec を参照してください。
例:
sh %{ls -ltr}
sh 'ls', 'file with spaces'
# check exit status after command runs
sh %{grep pattern file} do |ok, res|
if ! ok
puts "pattern not found (status = #{res.exitstatus}......)"
end
end
@see Kernel.#exec, Kernel.#system...