2件ヒット
[1-2件を表示]
(0.033秒)
別のキーワード
キーワード
- egrep (1)
-
excluded
_ from _ list? (1)
検索結果
先頭2件
-
Rake
:: FileList # excluded _ from _ list?(file _ name) -> bool (367.0) -
与えられたファイル名が除外される場合は、真を返します。 そうでない場合は偽を返します。
...。
@param file_name ファイル名を指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
IO.write("test1.rb", "test")
IO.write("test2.rb", "test")
task default: :test_rake_app
task :test_rake_app do
file_list = FileList.new("test1.rb", "test2.rb")
file_list.exclude("te... -
Rake
:: FileList # egrep(pattern) {|filename , count , line| . . . } (346.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...