るりまサーチ

最速Rubyリファレンスマニュアル検索!
24件ヒット [1-24件を表示] (0.050秒)
トップページ > クエリ:to[x] > クエリ:execute[x]

別のキーワード

  1. _builtin to_s
  2. openssl to_der
  3. openssl to_s
  4. _builtin to_a
  5. openssl to_pem

ライブラリ

クラス

検索結果

IRB::ExtendCommand::Help#execute(*names) -> nil (18119.0)

RI から Ruby のドキュメントを参照します。

...irb のプロンプトに戻る事ができま
す。

irb(main):001:0> help

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)
-----------------------------------------------------...

rake (42.0)

Rake というコマンドラインツールを扱うライブラリです。

...ずにタスクを実行します。
-e, --execute CODE Ruby のコードを実行して終了します。
-p, --execute-print CODE Ruby のコードを実行して結果を表示して終了します。
-E, --execute-continue CODE Ruby のコードを実行して...
...sk :default => [:test]

1.upto(8) do |n|
Rake::TestTask.new("test_step#{n}") do |t|
t.libs << "step#{n}"
t.test_files = FileList["step#{n}/test_*.rb"]
t.verbose = false
end
end

desc 'execute all test'
task 'test_all' => (1..8).to_a.map{|n| "test_step#{n}"}

===...
...いていは do/end ブロックで区切られます)
: execute / 実行
あるタスクが実行されると、それに含まれるアクションは定義された順番通りに全て評価されます。
invoke と違うのは execute はアクションを常に実行する点です (事...