172件ヒット
[1-100件を表示]
(0.116秒)
クラス
-
Enumerator
:: ArithmeticSequence (12) -
RDoc
:: Options (22) -
Rake
:: FileList (44) - Range (72)
モジュール
-
Rake
:: Cloneable (22)
キーワード
- == (17)
-
clear
_ exclude (11) - clone (11)
- cover? (17)
- dup (11)
- eql? (11)
- exclude= (11)
-
exclude
_ end? (17) -
excluded
_ from _ list? (11) - last (22)
- resolve (11)
検索結果
先頭5件
-
Rake
:: FileList # exclude(*patterns) {|entry| . . . } -> self (24226.0) -
自身から取り除くべきファイル名のパターンを自身の除外リストに登録します。
...せん。
例:
FileList['a.c', 'b.c'].exclude("a.c") # => ['b.c']
FileList['a.c', 'b.c'].exclude(/^a/) # => ['b.c']
# If "a.c" is a file, then ...
FileList['a.c', 'b.c'].exclude("a.*") # => ['b.c']
# If "a.c" is not a file, then ...
FileList['a.c', 'b.c'].exclude("a.*") # => ['a.c',... -
RDoc
:: Options # exclude -> Regexp (24218.0) -
コマンドライン引数の --exclude オプションで指定した正規表現を返します。 複数指定していた場合は、1 つの Regexp オブジェクトにまとめられた ものを返します。
...コマンドライン引数の --exclude オプションで指定した正規表現を返します。
複数指定していた場合は、1 つの Regexp オブジェクトにまとめられた
ものを返します。... -
Rake
:: FileList # clear _ exclude -> self (15214.0) -
登録されている除外リストをクリアします。
...list[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
file_list = FileList.new("test.rb", "test.bak")
file_list.exclude("test.rb")
# DEFAULT_IGNORE_PATTERNS と "test.rb" の双方の除外がクリアされる
file_list.clear_exclude
file_l... -
RDoc
:: Options # exclude=(val) (12218.0) -
コマンドライン引数の --exclude オプションと同様の指定を行います。
...コマンドライン引数の --exclude オプションと同様の指定を行います。
@param val 設定するパターンを Regexp オブジェクトで指定します。... -
Range
# exclude _ end? -> bool (12214.0) -
範囲オブジェクトが終端を含まないとき真を返します。
...範囲オブジェクトが終端を含まないとき真を返します。
//emlist[例][ruby]{
(1..5).exclude_end? # => false
(1...5).exclude_end? # => true
//}... -
Rake
:: FileList # excluded _ from _ list?(file _ name) -> bool (12207.0) -
与えられたファイル名が除外される場合は、真を返します。 そうでない場合は偽を返します。
...le_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("test1.rb")
fil......e_list.excluded_from_list?("test1.rb") # => true
file_list.excluded_from_list?("test2.rb") # => false
end
//}... -
Enumerator
:: ArithmeticSequence # exclude _ end? -> bool (12202.0) -
末項(終端)を含まないとき真を返します。
末項(終端)を含まないとき真を返します。 -
Rake
:: Cloneable # clone -> object (9107.0) -
自身を複製します。
...ています。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
file_list = FileList['a.c', 'b.c']
clone = file_list.clone
clone # => ["a.c", "b.c"]
clone.exclude("a.c")
clone == file_list # => false
end
//}... -
Range
# eql?(other) -> bool (6117.0) -
指定された other が Range クラスのインスタンスであり、 始端と終端が eql? メソッドで比較して等しく、Range#exclude_end? が同じ場合に true を返します。そうでない場合に false を返します。
...端と終端が eql? メソッドで比較して等しく、Range#exclude_end? が同じ場合に
true を返します。そうでない場合に false を返します。
@param other 自身と比較したいオブジェクトを指定します。
//emlist[例][ruby]{
p (1..2).eql?(1..2)......# => true
p (1..2).eql?(1...2) # => false
p (1..2).eql?(Range.new(1.0, 2.0)) # => false
//}... -
Rake
:: FileList # resolve -> self (6107.0) -
追加リストと除外リストを評価します。
...//emlist[][ruby]{
# Rakefile での記載例とする
IO.write("test.rb", "test")
IO.write("test.java", "test")
IO.write("test.js", "test")
task default: :test_rake_app
task :test_rake_app do
file_list = FileList.new("*.rb")
file_list.include("*.java")
file_list.exclude("*.js")
file_list.......resolve # => ["test.rb", "test.java"]
end
//}...