るりまサーチ

最速Rubyリファレンスマニュアル検索!
289件ヒット [1-100件を表示] (0.106秒)
トップページ > クエリ:a[x] > クエリ:exclude[x]

別のキーワード

  1. _builtin to_a
  2. matrix to_a
  3. to_a
  4. dbm to_a
  5. argf.class to_a

ライブラリ

モジュール

キーワード

検索結果

<< 1 2 3 > >>

Rake::FileList#exclude(*patterns) {|entry| ... } -> self (21303.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.c']...

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

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

...[][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
//}...

Socket::Constants::MCAST_EXCLUDE -> Integer (12201.0)

Exclusive multicast source filter

...Exclusive multicast source filter

BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。

@see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678...

Socket::MCAST_EXCLUDE -> Integer (12201.0)

Exclusive multicast source filter

...Exclusive multicast source filter

BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。

@see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678...

Rake::FileList#excluded_from_list?(file_name) -> bool (9206.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("test1...
....rb")
file_list.excluded_from_list?("test1.rb") # => true
file_list.excluded_from_list?("test2.rb") # => false
end
//}...

絞り込み条件を変える

Range#exclude_end? -> bool (9113.0)

範囲オブジェクトが終端を含まないとき真を返します。

...範囲オブジェクトが終端を含まないとき真を返します。

//emlist[例][ruby]{
(1..5).exclude_end? # => false
(1...5).exclude_end? # => true
//}...

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

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

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

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

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

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

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

Range#hash -> Integer (6116.0)

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

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

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