126件ヒット
[1-100件を表示]
(0.142秒)
種類
- インスタンスメソッド (102)
- 文書 (12)
- 関数 (12)
ライブラリ
- ビルトイン (15)
-
cgi
/ core (12) -
minitest
/ spec (1) -
minitest
/ unit (1) - mkmf (48)
-
rexml
/ document (12) - set (13)
クラス
- Object (1)
-
REXML
:: AttlistDecl (12) - Set (16)
- String (12)
モジュール
-
CGI
:: QueryExtension (12) - Kernel (48)
-
MiniTest
:: Assertions (1)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) -
assert
_ includes (1) -
enable
_ config (24) - member? (4)
-
must
_ include (1) -
rb
_ ary _ includes (12) -
with
_ config (24)
検索結果
先頭5件
-
String
# include?(substr) -> bool (21218.0) -
文字列中に部分文字列 substr が含まれていれば真を返します。
...文字列中に部分文字列 substr が含まれていれば真を返します。
@param substr 検索する文字列
//emlist[例][ruby]{
"hello".include? "lo" #=> true
"hello".include? "ol" #=> false
"hello".include? ?h #=> true
//}... -
REXML
:: AttlistDecl # include?(key) -> bool (21100.0) -
key が属性名であるならば真を返します。
key が属性名であるならば真を返します。
@param key 属性名であるかどうか判定する文字列 -
Set
# include?(o) -> bool (21100.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
//}... -
CGI
:: QueryExtension # include?(*args) -> bool (18100.0) -
与えられたキーがクエリに含まれている場合は、真を返します。 そうでない場合は、偽を返します。
与えられたキーがクエリに含まれている場合は、真を返します。
そうでない場合は、偽を返します。
@param args キーを一つ以上指定します。 -
Set
# include?(o) -> bool (18100.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
//}... -
Kernel
# with _ config(config , default = nil) -> bool | String (6106.0) -
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... -
Kernel
# with _ config(config , default = nil) {|config , default| . . . } -> bool | String (6106.0) -
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... -
MiniTest
:: Assertions # assert _ includes(collection , object , message = nil) -> true (6106.0) -
与えられたコレクションにオブジェクトが含まれている場合、検査にパスしたことになります。
...ンにオブジェクトが含まれている場合、検査にパスしたことになります。
@param collection 任意のコレクションを指定します。
@param object 任意のオブジェクトを指定します。
@param message 検査に失敗した場合に表示するメッセ......oc を指定します。Proc である場合は Proc#call した
結果を使用します。
@raise MiniTest::Assertion 第一引数のオブジェクトが include? メソッドを持たない場合に発生します。
与えられたコレクションに... -
Object
# must _ include(object) -> true (6106.0) -
自身に与えられたオブジェクトが含まれている場合、検査にパスしたことになります。
...ect 任意のオブジェクトを指定します。
@raise MiniTest::Assertion 自身が include? メソッドを持たない場合に発生します。
自身に与えられたオブジェクトが含まれていない場合に発生します。
@see MiniTest::Assertio......ns#assert_includes... -
Set
# member?(o) -> bool (6000.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
//}... -
VALUE rb
_ ary _ includes(ary , item) (116.0) -
ary.include? item
...ary.include? item... -
Kernel
# enable _ config(config , default) -> bool | String (106.0) -
configure のオプションを検査します。
...す。どちらでもな
い場合は default を返します。
これはデバッグ情報などのカスタム定義を、追加するのに役立ちます。
@param config configure のオプションの名前を指定します。
@param default デフォルト値を返します。
例
req......uire 'mkmf'
if enable_config("debug")
$defs.push("-DOSSL_DEBUG") unless $defs.include? "-DOSSL_DEBUG"
end...