種類
- インスタンスメソッド (222)
- 文書 (26)
- 特異メソッド (24)
- 定数 (24)
- ライブラリ (13)
クラス
-
Enumerator
:: ArithmeticSequence (21) -
RDoc
:: Options (24) -
Rake
:: FileList (60) - Range (117)
- Socket (12)
モジュール
-
Rake
:: Cloneable (24) -
Socket
:: Constants (12)
キーワード
- == (19)
-
MCAST
_ EXCLUDE (24) -
NEWS for Ruby 2
. 6 . 0 (7) -
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)
- new (24)
- overlap? (2)
- rdoc (12)
- resolve (12)
-
ruby 1
. 8 . 2 feature (12) -
test
/ unit (1) - 演算子式 (7)
検索結果
先頭5件
-
Socket
:: MCAST _ EXCLUDE -> Integer (6101.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 -
Range
. new(first , last , exclude _ end = false) -> Range (119.0) -
first から last までの範囲オブジェクトを生成して返しま す。
...生成して返しま
す。
exclude_end が真ならば終端を含まない範囲オブジェクトを生
成します。exclude_end 省略時には終端を含みます。
@param first 最初のオブジェクト
@param last 最後のオブジェクト
@param exclude_end 真をセットした... -
Range
# ==(other) -> bool (16.0) -
指定された other が Range クラスのインスタンスであり、 始端と終端が == メソッドで比較して等しく、Range#exclude_end? が同じ場合に true を返します。そうでない場合に false を返します。
...指定された other が Range クラスのインスタンスであり、
始端と終端が == メソッドで比較して等しく、Range#exclude_end? が同じ場合に
true を返します。そうでない場合に false を返します。
@param other 自身と比較したいオブジェ... -
Range
# eql?(other) -> bool (16.0) -
指定された other が Range クラスのインスタンスであり、 始端と終端が eql? メソッドで比較して等しく、Range#exclude_end? が同じ場合に true を返します。そうでない場合に false を返します。
...指定された other が Range クラスのインスタンスであり、
始端と終端が eql? メソッドで比較して等しく、Range#exclude_end? が同じ場合に
true を返します。そうでない場合に false を返します。
@param other 自身と比較したいオブジェ... -
Range
# hash -> Integer (16.0) -
始端と終端のハッシュ値と Range#exclude_end? の値からハッシュ値を計算して整数として返します。
...始端と終端のハッシュ値と Range#exclude_end? の値からハッシュ値を計算して整数として返します。
//emlist[例][ruby]{
p (1..2).hash # => 5646
p (1...2).hash # => 16782863
//}... -
Rake
:: Cloneable # dup -> object (12.0) -
自身と同じクラスのオブジェクトを作成後、自身のインスタンス変数を 全て新たに作成したオブジェクトにコピーします。
...# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
file_list = FileList['a.c', 'b.c']
file_list.freeze
dup = file_list.dup
clone = file_list.clone
dup.exclude("a.c") # => ["b.c"]
clone.exclude("a.c") # => can't modify frozen Rake::FileList
end
//}... -
test
/ unit (12.0) -
ユニットテストを行うためのライブラリです。
...q, --hide-skip Hide skipped tests
-b, --basedir=DIR Base directory of test suites.
-x, --exclude PATTERN Exclude test files on pattern.
-Idirectory Add library load path
--[no-]gc-stress Set GC.st... -
Enumerator
:: ArithmeticSequence # ==(other) -> bool (6.0) -
Enumerable::ArithmeticSequence として等しいか判定します。
...Enumerable::ArithmeticSequence として等しいか判定します。
other が Enumerable::ArithmeticSequence で
begin, end, step, exclude_end? が等しい時に
true を返します。
@param other 自身と比較する Enumerable::ArithmeticSequence... -
Enumerator
:: ArithmeticSequence # hash -> Integer (6.0) -
自身のハッシュ値を返します。
...自身のハッシュ値を返します。
begin, end, step, exclude_end? が等しい Enumerable::ArithmeticSequence は
同じハッシュ値を返します。... -
NEWS for Ruby 2
. 6 . 0 (6.0) -
NEWS for Ruby 2.6.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...うようになりました。
* メソッドの行番号がずれていたのを修正しました。
* 無視されていた --width, --exclude, --line-numbers を有効にしました。
* デフォルトのマークアップ記法で ">>>" による引用をサポートしました... -
Rake
:: Cloneable # clone -> object (6.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
//}... -
Rake
:: FileList # resolve -> self (6.0) -
追加リストと除外リストを評価します。
...する
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
//}...