るりまサーチ (Ruby 2.4.0)

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

別のキーワード

  1. rake pathmap
  2. rake pathmap_partial
  3. rake pathmap_explode
  4. rake pathmap_replace
  5. string pathmap

ライブラリ

クラス

キーワード

検索結果

Rake::FileList#pathmap(spec = nil) -> Rake::FileList (54406.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

String#pathmap_explode -> Array (18388.0)

自身をパスを表す部分ごとに分解して配列にして返します。 String#pathmap で利用される protected メソッドです。

自身をパスを表す部分ごとに分解して配列にして返します。
String#pathmap で利用される protected メソッドです。

@see String#pathmap

String#pathmap_replace(patterns) { ... } -> String (18322.0)

与えられたパスを前もって置き換えます。

与えられたパスを前もって置き換えます。

@param patterns 'pat1,rep1;pat2,rep2;...' のような形式で置換パターンを指定します。