るりまサーチ

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

別のキーワード

  1. _builtin to_i
  2. fiddle to_i
  3. matrix elements_to_i
  4. matrix i
  5. kernel $-i

ライブラリ

キーワード

検索結果

Rake::FileList#exclude(*patterns) {|entry| ... } -> self (21126.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 (21118.0)

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

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

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

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

...ile_name ファイル名を指定します。

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

I
O.write("test1.rb", "test")
I
O.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")
fi...
...le_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)

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

...ist[][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_li...

絞り込み条件を変える

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

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

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

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

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

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

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

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

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

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

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

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

Rake::FileList#resolve -> self (3007.0)

追加リストと除外リストを評価します。

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

I
O.write("test.rb", "test")
I
O.write("test.java", "test")
I
O.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.r...

Range#hash -> Integer (117.0)

始端と終端のハッシュ値と Range#exclude_end? の値からハッシュ値を計算して整数として返します。

...始端と終端のハッシュ値と Range#exclude_end? の値からハッシュ値を計算して整数として返します。

//emlist[例][ruby]{
p (1..2).hash # => 5646
p (1...2).hash # => 16782863
//}...

絞り込み条件を変える