るりまサーチ

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

別のキーワード

  1. net/imap param
  2. win32ole win32ole_param
  3. win32ole_param input?
  4. win32ole_param output?
  5. win32ole_param name

ライブラリ

クラス

モジュール

キーワード

検索結果

<< 1 2 > >>

String#include?(substr) -> bool (21225.0)

文字列中に部分文字列 substr が含まれていれば真を返します。

...文字列中に部分文字列 substr が含まれていれば真を返します。

@param substr 検索する文字列

//emlist[例][ruby]{
"hello".include? "lo" #=> true
"hello".include? "ol" #=> false
"hello".include? ?h #=> true
//}...

REXML::AttlistDecl#include?(key) -> bool (21107.0)

key が属性名であるならば真を返します。

...key が属性名であるならば真を返します。

@param key 属性名であるかどうか判定する文字列...

Set#include?(o) -> bool (21107.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 (18107.0)

与えられたキーがクエリに含まれている場合は、真を返します。 そうでない場合は、偽を返します。

...与えられたキーがクエリに含まれている場合は、真を返します。
そうでない場合は、偽を返します。

@param args キーを一つ以上指定します。...

Set#include?(o) -> bool (18107.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 (6125.0)

与えられたコレクションにオブジェクトが含まれている場合、検査にパスしたことになります。

...トが含まれている場合、検査にパスしたことになります。

@param collection 任意のコレクションを指定します。

@param object 任意のオブジェクトを指定します。

@param message 検査に失敗した場合に表示するメッセージを指定しま...
...oc を指定します。Proc である場合は Proc#call した
結果を使用します。

@raise MiniTest::Assertion 第一引数のオブジェクトが include? メソッドを持たない場合に発生します。
与えられたコレクションに...

Kernel#with_config(config, default = nil) -> bool | String (6119.0)

configure のオプションを検査します。

...--with-<config> が指定された場合は真を返しま
す。--without-<config> が指定された場合は偽を返します。どちらでもない場
合は default を返します。

これはデバッグ情報などのカスタム定義を、追加するのに役立ちます。

@param con...
...fig 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 (6119.0)

configure のオプションを検査します。

...--with-<config> が指定された場合は真を返しま
す。--without-<config> が指定された場合は偽を返します。どちらでもない場
合は default を返します。

これはデバッグ情報などのカスタム定義を、追加するのに役立ちます。

@param con...
...fig configure のオプションの名前を指定します。

@param default デフォルト値を返します。


require 'mkmf'
if with_config("debug")
$defs.push("-DOSSL_DEBUG") unless $defs.include? "-DOSSL_DEBUG"
end...

Object#must_include(object) -> true (6113.0)

自身に与えられたオブジェクトが含まれている場合、検査にパスしたことになります。

...@param object 任意のオブジェクトを指定します。

@raise MiniTest::Assertion 自身が include? メソッドを持たない場合に発生します。
自身に与えられたオブジェクトが含まれていない場合に発生します。

@see MiniTest...
...::Assertions#assert_includes...

Set#member?(o) -> bool (6007.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
//}...

絞り込み条件を変える

Kernel#enable_config(config, default) -> bool | String (119.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...

Kernel#enable_config(config, default) {|config, default| ... } -> bool | String (119.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...
<< 1 2 > >>