るりまサーチ

最速Rubyリファレンスマニュアル検索!
189件ヒット [1-100件を表示] (0.098秒)

別のキーワード

  1. openssl t61string
  2. asn1 t61string
  3. matrix t
  4. t61string new
  5. fiddle type_size_t

ライブラリ

モジュール

キーワード

検索結果

<< 1 2 > >>

Rake::FileList#exclude(*patterns) {|entry| ... } -> self (21226.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', 'b....

RDoc::Options#exclude -> Regexp (21118.0)

コマンドライン引数の --exclude オプションで指定した正規表現を返します。 複数指定していた場合は、1 つの Regexp オブジェクトにまとめられた ものを返します。

...コマンドライン引数の --exclude オプションで指定した正規表現を返します。
複数指定していた場合は、1 つの Regexp オブジェクトにまとめられた
ものを返します。...

Rake::FileList#excluded_from_list?(file_name) -> bool (12207.0)

与えられたファイル名が除外される場合は、真を返します。 そうでない場合は偽を返します。

...mlist[][ruby]{
# Rakefile での記載例とする

IO.write("test1.rb", "test")
IO.write("test2.rb", "test")

t
ask default: :test_rake_app
t
ask :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
//}...

RDoc::Options#exclude=(val) (9118.0)

コマンドライン引数の --exclude オプションと同様の指定を行います。

...コマンドライン引数の --exclude オプションと同様の指定を行います。

@param val 設定するパターンを Regexp オブジェクトで指定します。...

Rake::FileList#clear_exclude -> self (9114.0)

登録されている除外リストをクリアします。

...t[][ruby]{
# Rakefile での記載例とする

t
ask default: :test_rake_app
t
ask :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
//}...

絞り込み条件を変える

Enumerator::ArithmeticSequence#exclude_end? -> bool (9102.0)

末項(終端)を含まないとき真を返します。

末項(終端)を含まないとき真を返します。

Range#last -> object (3202.0)

終端の要素を返します。範囲オブジェクトが終端を含むかどうかは関係ありま せん。

...終端の要素を返します。範囲オブジェクトが終端を含むかどうかは関係ありま
せん。

//emlist[例][ruby]{
(10..20).last # => 20
(10...20).last # => 20
//}

@see Range#begin...

Enumerator::ArithmeticSequence#==(other) -> bool (3107.0)

Enumerable::ArithmeticSequence として等しいか判定します。

...Enumerable::ArithmeticSequence として等しいか判定します。

other が Enumerable::ArithmeticSequence で
begin, end, step, exclude_end? が等しい時に
t
rue を返します。

@param other 自身と比較する Enumerable::ArithmeticSequence...

Enumerator::ArithmeticSequence#hash -> Integer (3107.0)

自身のハッシュ値を返します。

...自身のハッシュ値を返します。

begin, end, step, exclude_end? が等しい Enumerable::ArithmeticSequence は
同じハッシュ値を返します。...

Range#last(n) -> [object] (3107.0)

最後の n 要素を返します。範囲内に要素が含まれない場合は空の配列を返します。

...指定
した場合は to_int メソッドによる暗黙の型変換を試みます。

@raise TypeError 引数に整数以外の(暗黙の型変換が行えない)オブジェクトを
指定した場合に発生します。

@raise ArgumentError n に負の数を指定...
...引数を省略して実行した場合は、終端を含むかどうか
(Range#exclude_end? の戻り値)に関わらず終端の要素を返す事に注意し
てください。

//emlist[例][ruby]{
(10..20).last(3) # => [18, 19, 20]
(10...20).last(3) # => [17, 18, 19]
//}

@see Range#first...

絞り込み条件を変える

<< 1 2 > >>