241件ヒット
[101-200件を表示]
(0.120秒)
ライブラリ
- ビルトイン (94)
-
cgi
/ core (12) - csv (12)
- dbm (12)
- gdbm (12)
- ipaddr (12)
-
minitest
/ spec (1) -
minitest
/ unit (1) - mkmf (48)
-
rexml
/ document (12) - sdbm (12)
- set (13)
クラス
モジュール
-
CGI
:: QueryExtension (12) - Enumerable (24)
- Kernel (48)
-
MiniTest
:: Assertions (1)
キーワード
-
assert
_ includes (1) -
enable
_ config (24) - member? (23)
-
must
_ include (1) -
with
_ config (24)
検索結果
先頭5件
-
CSV
:: Row # include?(name) -> bool (18201.0) -
自身のヘッダに与えられた値が含まれている場合は真を返します。 そうでない場合は偽を返します。
...い場合は偽を返します。
@param name この行のヘッダに含まれているかどうか調べたい値を指定します。
//emlist[例][ruby]{
require "csv"
row = CSV::Row.new(["header1", "header2"], [1, 2])
row.header?("header1") # => true
row.header?("header3") # => false
//}... -
DBM
# include?(key) -> bool (18201.0) -
key がデータベース中に存在する時、真を返します。
key がデータベース中に存在する時、真を返します。
@param key キー。 -
GDBM
# include?(key) -> bool (18201.0) -
key がデータベース中に存在する時、真を返します。
key がデータベース中に存在する時、真を返します。 -
Hash
# include?(key) -> bool (18201.0) -
ハッシュが key をキーとして持つ時真を返します。
...ハッシュが key をキーとして持つ時真を返します。
@param key 探索するキーを指定します。
//emlist[][ruby]{
p({1 => "one"}.key?(1)) # => true
p({1 => "one"}.key?(2)) # => false
//}
@see Hash#value?... -
Range
# include?(obj) -> bool (18201.0) -
obj が範囲内に含まれている時に true を返します。 そうでない場合は、false を返します。
...のオブジェクトを指定します。
//emlist[例][ruby]{
p ("a" .. "c").include?("b") # => true
p ("a" .. "c").include?("B") # => false
p ("a" .. "c").include?("ba") # => false
p ("a" .. "c").cover?("ba") # => true
p (1 .. 3).include?(1.5) # => true
//}
@see d:spec/control#case
@see Ra... -
SDBM
# include?(key) -> bool (18201.0) -
key がデータベース中に存在する時、真を返します。
key がデータベース中に存在する時、真を返します。
@param key 検索したいキー。 -
Set
# include?(o) -> bool (18201.0) -
オブジェクト o がその集合に属する場合に true を返します。
...オブジェクト o がその集合に属する場合に true を返します。
@param o オブジェクトを指定します。
//emlist[][ruby]{
require 'set'
set = Set['hello', 'world']
p set.include?('world') # => true
p set.include?('bye') # => false
//}......オブジェクト o がその集合に属する場合に true を返します。
@param o オブジェクトを指定します。
//emlist[][ruby]{
set = Set['hello', 'world']
p set.include?('world') # => true
p set.include?('bye') # => false
//}... -
MiniTest
:: Assertions # assert _ includes(collection , object , message = nil) -> true (9107.0) -
与えられたコレクションにオブジェクトが含まれている場合、検査にパスしたことになります。
...与えられたコレクションにオブジェクトが含まれている場合、検査にパスしたことになります。
@param collection 任意のコレクションを指定します。
@param object 任意のオブジェクトを指定します。
@param message 検査に失敗した......Proc を指定します。Proc である場合は Proc#call した
結果を使用します。
@raise MiniTest::Assertion 第一引数のオブジェクトが include? メソッドを持たない場合に発生します。
与えられたコレクション... -
Kernel
# enable _ config(config , default) {|config , default| . . . } -> bool | String (6307.0) -
configure のオプションを検査します。
...configure のオプションを検査します。
configure のオプションに --enable-<config> が指定された場合は、真を返し
ます。--disable-<config> が指定された場合は。偽を返します。どちらでもな
い場合は default を返します。
これはデバ......義を、追加するのに役立ちます。
@param config configure のオプションの名前を指定します。
@param default デフォルト値を返します。
例
require 'mkmf'
if enable_config("debug")
$defs.push("-DOSSL_DEBUG") unless $defs.include? "-DOSSL_DEBUG"
end... -
Kernel
# enable _ config(config , default) -> bool | String (6207.0) -
configure のオプションを検査します。
...configure のオプションを検査します。
configure のオプションに --enable-<config> が指定された場合は、真を返し
ます。--disable-<config> が指定された場合は。偽を返します。どちらでもな
い場合は default を返します。
これはデバ......義を、追加するのに役立ちます。
@param config configure のオプションの名前を指定します。
@param default デフォルト値を返します。
例
require 'mkmf'
if enable_config("debug")
$defs.push("-DOSSL_DEBUG") unless $defs.include? "-DOSSL_DEBUG"
end... -
Kernel
# with _ config(config , default = nil) -> bool | String (6107.0) -
configure のオプションを検査します。
...configure のオプションを検査します。
configure のオプションに --with-<config> が指定された場合は真を返しま
す。--without-<config> が指定された場合は偽を返します。どちらでもない場
合は default を返します。
これはデバッグ情......定義を、追加するのに役立ちます。
@param config configure のオプションの名前を指定します。
@param default デフォルト値を返します。
例
require 'mkmf'
if with_config("debug")
$defs.push("-DOSSL_DEBUG") unless $defs.include? "-DOSSL_DEBUG"
end...