るりまサーチ (Ruby 2.3.0)

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

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method new
  4. irb/input-method gets
  5. matrix -

ライブラリ

クラス

モジュール

キーワード

検索結果

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

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

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

@param substr 検索する文字列

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

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

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

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

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

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

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

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

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

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

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

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

configure のオプションに --with-<config> が指定された場合は真を返しま
す。--without-<config> が指定された場合は偽を返します。どちらでもない場
合は default を返します。

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

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

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


require 'mkmf'
if with_config("debug")
$defs...

絞り込み条件を変える

Kernel#with_config(config, default = nil) {|config, default| ... } -> bool | String (18622.0)

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

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

configure のオプションに --with-<config> が指定された場合は真を返しま
す。--without-<config> が指定された場合は偽を返します。どちらでもない場
合は default を返します。

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

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

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


require 'mkmf'
if with_config("debug")
$defs...

Set#member?(o) -> bool (18304.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 (622.0)

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

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

configure のオプションに --enable-<config> が指定された場合は、真を返し
ます。--disable-<config> が指定された場合は。偽を返します。どちらでもな
い場合は default を返します。

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

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

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


require 'mkmf'
if enable_config("debug")
...

Kernel#enable_config(config, default) {|config, default| ... } -> bool | String (622.0)

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

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

configure のオプションに --enable-<config> が指定された場合は、真を返し
ます。--disable-<config> が指定された場合は。偽を返します。どちらでもな
い場合は default を返します。

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

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

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


require 'mkmf'
if enable_config("debug")
...