るりまサーチ (Ruby 2.2.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.095秒)
トップページ > バージョン:2.2.0[x] > クエリ:a[x] > クエリ:u[x] > クエリ:count[x] > ライブラリ:rake[x]

別のキーワード

  1. _builtin to_a
  2. matrix to_a
  3. to_a
  4. dbm to_a
  5. argf.class to_a

クラス

検索結果

Rake::FileList#egrep(pattern) {|filename, count, line| ... } (10090.0)

与えられたパターンをファイルリストから grep のように検索します。

...attern 正規表現を指定します。

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

IO.write("sample1", "line1\nline2\nline3\n")
IO.write("sample2", "line1\nline2\nline3\nline4\n")

task default: :test_rake_app
task :test_rake_app do

file_list = FileList.new('sample*')
file_list.eg...