1090件ヒット
[101-200件を表示]
(0.043秒)
別のキーワード
ライブラリ
- ビルトイン (513)
-
cgi
/ core (36) - csv (24)
- dbm (48)
- delegate (12)
- erb (12)
- ipaddr (24)
-
minitest
/ spec (1) -
minitest
/ unit (2) - mkmf (84)
- pathname (24)
- rake (12)
-
rdoc
/ context (24) -
rdoc
/ text (12) -
rexml
/ document (12) -
rexml
/ parsers / sax2parser (60) -
rexml
/ streamlistener (12) - sdbm (48)
- set (23)
- socket (12)
- tsort (23)
-
webrick
/ httpresponse (12) -
webrick
/ httpserver (24) - win32ole (36)
クラス
- Array (12)
-
CSV
:: Row (24) - DBM (48)
- Delegator (12)
- ERB (12)
- Hash (48)
- IPAddr (24)
- Module (216)
- Object (121)
- Pathname (24)
-
RDoc
:: Context (24) -
REXML
:: AttlistDecl (12) -
REXML
:: Parsers :: SAX2Parser (60) -
Rake
:: FileList (12) - Range (48)
- SDBM (48)
- Set (32)
- Socket (12)
- String (12)
- UnboundMethod (12)
-
WEBrick
:: HTTPResponse (12) -
WEBrick
:: HTTPServer (24) - WIN32OLE (36)
モジュール
-
CGI
:: QueryExtension (36) - Enumerable (24)
- GC (12)
- Kernel (84)
-
MiniTest
:: Assertions (2) -
RDoc
:: Text (12) -
REXML
:: StreamListener (12) - TSort (23)
キーワード
- < (12)
- <= (12)
- <=> (12)
- === (25)
- >= (12)
-
_ getproperty (12) -
_ invoke (12) -
_ setproperty (12) -
add
_ include (12) -
add
_ to (12) -
assert
_ includes (1) -
assert
_ send (1) - bind (12)
-
connect
_ nonblock (12) -
const
_ defined? (12) -
const
_ get (12) -
const
_ source _ location (12) - constants (12)
-
content
_ length (12) - cover? (19)
-
def
_ module (12) -
dir
_ config (12) -
each
_ child (24) -
each
_ strongly _ connected _ component _ from (23) -
enable
_ config (24) - entitydecl (12)
- extend (12)
-
garbage
_ collect (12) -
has
_ key? (48) - header? (12)
- include? (156)
- included (12)
-
is
_ a? (12) - key? (48)
-
kind
_ of? (12) - listen (60)
- markup (12)
- member? (72)
-
method
_ defined? (12) - methods (12)
- mount (12)
-
must
_ include (1) -
prepend
_ features (12) -
private
_ instance _ methods (12) -
private
_ method _ defined? (12) -
private
_ methods (12) -
protected
_ method _ defined? (12) -
protected
_ methods (12) -
public
_ method _ defined? (12) -
public
_ methods (12) -
respond
_ to? (12) -
respond
_ to _ missing? (24) -
singleton
_ methods (12) -
try
_ cpp (24) -
virtual
_ host (12) -
with
_ config (24)
検索結果
先頭5件
-
Array
# include?(val) -> bool (6220.0) -
配列が val と == で等しい要素を持つ時に真を返します。
...配列が val と == で等しい要素を持つ時に真を返します。
@param val オブジェクトを指定します。
//emlist[例][ruby]{
a = [ "a", "b", "c" ]
a.include?("b") #=> true
a.include?("z") #=> false
//}... -
Enumerable
# include?(val) -> bool (6220.0) -
val と == の関係にある要素を含むとき真を返します。
...val と == の関係にある要素を含むとき真を返します。
@param val 任意のオブジェクト
//emlist[例][ruby]{
[2, 4, 6].include? 2 #=> true
[2, 4, 6].include? 1 #=> false
[2, 4, 6].member? 2 #=> true
[2, 4, 6].member? 1 #=> false
//}... -
Set
# include?(o) -> bool (6220.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
//}... -
Object
# must _ include(object) -> true (6214.0) -
自身に与えられたオブジェクトが含まれている場合、検査にパスしたことになります。
...オブジェクトが含まれている場合、検査にパスしたことになります。
@param object 任意のオブジェクトを指定します。
@raise MiniTest::Assertion 自身が include? メソッドを持たない場合に発生します。
自身に与......えられたオブジェクトが含まれていない場合に発生します。
@see MiniTest::Assertions#assert_includes... -
REXML
:: AttlistDecl # include?(key) -> bool (6208.0) -
key が属性名であるならば真を返します。
...key が属性名であるならば真を返します。
@param key 属性名であるかどうか判定する文字列... -
Module
# <=>(other) -> Integer | nil (6113.0) -
self と other の継承関係を比較します。
...@param other 比較対象のクラスやモジュール
//emlist[例][ruby]{
module Foo
end
class Bar
include Foo
end
class Baz < Bar
end
class Qux
end
p Bar <=> Foo # => -1
p Baz <=> Bar # => -1
p Baz <=> Foo # => -1
p Baz <=> Qux # => nil
p Qux <=> Baz # => nil
p Baz <=> O......bject.new # => nil
//}... -
Module
# >=(other) -> bool | nil (6113.0) -
比較演算子。self が other の先祖か同一クラスである場合、 true を返します。 self が other の子孫である場合、false を返します。
...@param other 比較対象のモジュールやクラス
@raise TypeError other がクラスやモジュールではない場合に発生します。
@see Module#<
//emlist[例][ruby]{
module Foo; end
module Bar
include Foo
end
module Baz
prepend Foo
end
Bar.ancestors # => [Bar, Foo]
Foo >=......Bar # => true
Bar >= Foo # => false
Baz.ancestors # => [Foo, Baz]
Foo >= Baz # => true
Baz >= Foo # => false
Foo >= Foo # => true
Foo >= Object # => nil
//}... -
Range
# include?(obj) -> bool (3232.0) -
obj が範囲内に含まれている時に true を返します。 そうでない場合は、false を返します。
...比較に用いられます。
<=> メソッドによる演算により範囲内かどうかを判定するには Range#cover? を使用してください。
始端・終端・引数が数値であれば、 Range#cover? と同様の動きをします。
@param obj 比較対象のオブジェク......トを指定します。
//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 Range#cover?... -
Set
# include?(o) -> bool (3220.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
//}... -
CGI
:: QueryExtension # include?(*args) -> bool (3208.0) -
与えられたキーがクエリに含まれている場合は、真を返します。 そうでない場合は、偽を返します。
...与えられたキーがクエリに含まれている場合は、真を返します。
そうでない場合は、偽を返します。
@param args キーを一つ以上指定します。... -
CSV
:: Row # include?(name) -> bool (3208.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 (3208.0) -
key がデータベース中に存在する時、真を返します。
...key がデータベース中に存在する時、真を返します。
@param key キー。...