るりまサーチ (Ruby 3.1)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.109秒)
トップページ > クエリ:i[x] > クエリ:>[x] > バージョン:3.1[x] > クエリ:rakefile[x] > クエリ:pathmap[x]

別のキーワード

  1. _builtin >
  2. bigdecimal >
  3. comparable >
  4. float >
  5. module >

ライブラリ

クラス

検索結果

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

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

各要素に String#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