222件ヒット
[1-100件を表示]
(0.171秒)
クラス
-
Enumerator
:: ArithmeticSequence (21) -
RDoc
:: Options (24) -
Rake
:: FileList (48) - Range (105)
モジュール
-
Rake
:: Cloneable (24)
キーワード
- == (19)
-
clear
_ exclude (12) - clone (12)
- cover? (19)
- dup (12)
- end (12)
- eql? (12)
- exclude= (12)
-
exclude
_ end? (19) -
excluded
_ from _ list? (12) - hash (19)
- last (24)
- overlap? (2)
- resolve (12)
検索結果
先頭5件
-
RDoc
:: Options # exclude -> Regexp (24318.0) -
コマンドライン引数の --exclude オプションで指定した正規表現を返します。 複数指定していた場合は、1 つの Regexp オブジェクトにまとめられた ものを返します。
...コマンドライン引数の --exclude オプションで指定した正規表現を返します。
複数指定していた場合は、1 つの Regexp オブジェクトにまとめられた
ものを返します。... -
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',... -
Enumerator
:: ArithmeticSequence # exclude _ end? -> bool (18202.0) -
末項(終端)を含まないとき真を返します。
末項(終端)を含まないとき真を返します。 -
RDoc
:: Options # exclude=(val) (12218.0) -
コマンドライン引数の --exclude オプションと同様の指定を行います。
...コマンドライン引数の --exclude オプションと同様の指定を行います。
@param val 設定するパターンを Regexp オブジェクトで指定します。... -
Rake
:: FileList # clear _ exclude -> self (12214.0) -
登録されている除外リストをクリアします。
...emlist[][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......_list # => ["test.rb", "test.bak"]
end
//}... -
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) -
与えられたファイル名が除外される場合は、真を返します。 そうでない場合は偽を返します。
...e_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")
file......_list.excluded_from_list?("test1.rb") # => true
file_list.excluded_from_list?("test2.rb") # => false
end
//}... -
Range
# eql?(other) -> bool (6117.0) -
指定された other が Range クラスのインスタンスであり、 始端と終端が eql? メソッドで比較して等しく、Range#exclude_end? が同じ場合に true を返します。そうでない場合に false を返します。
...指定された other が Range クラスのインスタンスであり、
始端と終端が 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
//}... -
Enumerator
:: ArithmeticSequence # ==(other) -> bool (6107.0) -
Enumerable::ArithmeticSequence として等しいか判定します。
...
Enumerable::ArithmeticSequence として等しいか判定します。
other が Enumerable::ArithmeticSequence で
begin, end, step, exclude_end? が等しい時に
true を返します。
@param other 自身と比較する Enumerable::ArithmeticSequence... -
Enumerator
:: ArithmeticSequence # hash -> Integer (6107.0) -
自身のハッシュ値を返します。
...自身のハッシュ値を返します。
begin, end, step, exclude_end? が等しい Enumerable::ArithmeticSequence は
同じハッシュ値を返します。...