るりまサーチ

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

別のキーワード

  1. fiddle ruby_free
  2. rbconfig ruby
  3. fiddle build_ruby_platform
  4. rake ruby
  5. rubygems/defaults ruby_engine

クラス

モジュール

キーワード

検索結果

Rake::FileList#pathmap(spec = nil) -> Rake::FileList (6127.0)

各要素に String#pathmap を適用した新しい Rake::FileList を返します。

...pathmap を適用した新しい Rake::FileList を返します。

//emlist[][ruby]{
# Rakefile での記載例とする

task default: :test_rake_app
task :test_rake_app do
file_list = FileList.new("test1.rb", "test2.rb", "test3.rb")
file_list.pathmap("%n") # => ["test1", "test2", "test3"]
end
...
...//}

@
see String#pathmap...

Rake::TaskManager#create_rule(*args) { ... } (39.0)

与えられたパラメータに従ってルールを作成します。

...

@
param args ルールに与えるパラメータを指定します。

//emlist[][ruby]{
# Rakefile での記載例とする

task default: :test_rake_app
task :test_rake_app do
rule = Rake.application.create_rule '.txt' => '.md' do |t|
"#{t}"
end

p rule # => 0x0000558dd2e32d20 /path/to/...
...Rakefile:5>
end

//}...