ライブラリ
- ビルトイン (563)
-
cgi
/ core (33) - csv (22)
- dbm (44)
- delegate (11)
- erb (11)
- gdbm (44)
- ipaddr (22)
-
irb
/ ext / math-mode (4) - matrix (22)
-
minitest
/ spec (1) -
minitest
/ unit (2) - mkmf (77)
- pathname (46)
- rake (22)
-
rake
/ packagetask (11) -
rdoc
/ context (44) -
rdoc
/ text (11) -
rexml
/ document (11) -
rexml
/ parsers / sax2parser (55) -
rexml
/ streamlistener (11) -
rubygems
/ version (11) - sdbm (44)
- set (29)
- socket (11)
- tsort (85)
-
webrick
/ httpresponse (55) -
webrick
/ httpserver (22) - win32ole (33)
クラス
- Array (11)
-
CSV
:: Row (22) - DBM (44)
- Delegator (11)
- ERB (11)
- GDBM (44)
-
Gem
:: Version (11) - Hash (44)
- IPAddr (22)
-
IRB
:: Context (4) - Method (22)
- Module (230)
- Object (111)
- Pathname (46)
- Proc (5)
-
RDoc
:: Context (44) -
RDoc
:: Options (22) -
REXML
:: AttlistDecl (11) -
REXML
:: Parsers :: SAX2Parser (55) -
Rake
:: FileList (22) -
Rake
:: PackageTask (11) - Range (50)
- Refinement (3)
- SDBM (44)
- Set (29)
- Socket (11)
- String (11)
- TracePoint (11)
- UnboundMethod (11)
- Vector (22)
-
WEBrick
:: HTTPResponse (55) -
WEBrick
:: HTTPServer (22) - WIN32OLE (33)
モジュール
-
CGI
:: QueryExtension (33) - Enumerable (44)
- GC (11)
- Kernel (77)
-
MiniTest
:: Assertions (2) -
RDoc
:: Text (11) -
REXML
:: StreamListener (11) - TSort (85)
キーワード
- < (11)
- <= (11)
- <=> (11)
- === (29)
- > (11)
- >= (11)
-
_ getproperty (11) -
_ invoke (11) -
_ setproperty (11) -
add
_ include (11) -
add
_ to (11) - ancestors (11)
-
append
_ features (11) -
assert
_ includes (1) -
assert
_ send (1) - bind (11)
- body= (11)
- chunked= (11)
-
connect
_ nonblock (11) -
const
_ defined? (11) -
const
_ get (11) -
const
_ source _ location (5) - constants (11)
-
content
_ length (11) -
content
_ length= (11) - cover? (17)
-
def
_ module (11) -
defined
_ class (11) -
dir
_ config (11) - each (22)
-
each
_ child (22) -
each
_ entry (35) -
each
_ strongly _ connected _ component (21) -
each
_ strongly _ connected _ component _ from (21) -
enable
_ config (22) - entitydecl (11)
- entries (11)
- eql? (11)
- extend (11)
-
garbage
_ collect (11) -
has
_ key? (55) - header? (11)
-
import
_ methods (3) - include? (154)
-
include
_ line _ numbers (11) - included (11)
-
included
_ modules (11) - includes (11)
-
initialize
_ methods _ etc (11) - inspect (11)
-
is
_ a? (11) - key? (55)
-
kind
_ of? (11) - listen (55)
- markup (11)
-
math
_ mode= (4) - member? (77)
-
method
_ defined? (11) - methods (11)
- mount (11)
-
must
_ include (1) -
package
_ files (11) -
prepend
_ features (11) -
private
_ instance _ methods (11) -
private
_ method _ defined? (11) -
private
_ methods (11) -
protected
_ method _ defined? (11) -
protected
_ methods (11) -
public
_ method _ defined? (11) -
public
_ methods (11) -
rdoc
_ include (11) - resolve (11)
-
respond
_ to? (11) -
respond
_ to _ missing? (22) -
ruby2
_ keywords (10) -
singleton
_ methods (11) -
strongly
_ connected _ components (11) -
to
_ s (22) -
try
_ cpp (22) - tsort (11)
-
tsort
_ each (21) -
virtual
_ host (11) -
with
_ config (22)
検索結果
先頭5件
-
RDoc
:: Options # rdoc _ include -> [String] (6118.0) -
コマンドライン引数の --include オプションで指定したディレクトリを文字列 の配列で返します。
...コマンドライン引数の --include オプションで指定したディレクトリを文字列
の配列で返します。
指定しなかった場合は ['.'] を返します。... -
Array
# include?(val) -> bool (6114.0) -
配列が val と == で等しい要素を持つ時に真を返します。
...配列が val と == で等しい要素を持つ時に真を返します。
@param val オブジェクトを指定します。
//emlist[例][ruby]{
a = [ "a", "b", "c" ]
a.include?("b") #=> true
a.include?("z") #=> false
//}... -
Enumerable
# include?(val) -> bool (6114.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 (6114.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 (6108.0) -
自身に与えられたオブジェクトが含まれている場合、検査にパスしたことになります。
...ェクトを指定します。
@raise MiniTest::Assertion 自身が include? メソッドを持たない場合に発生します。
自身に与えられたオブジェクトが含まれていない場合に発生します。
@see MiniTest::Assertions#assert_includes... -
MiniTest
:: Assertions # assert _ includes(collection , object , message = nil) -> true (6107.0) -
与えられたコレクションにオブジェクトが含まれている場合、検査にパスしたことになります。
...oc である場合は Proc#call した
結果を使用します。
@raise MiniTest::Assertion 第一引数のオブジェクトが include? メソッドを持たない場合に発生します。
与えられたコレクションにオブジェクトが含... -
Module
# included _ modules -> [Module] (6107.0) -
self にインクルードされているモジュールの配列を返します。
...self にインクルードされているモジュールの配列を返します。
//emlist[例][ruby]{
module Mixin
end
module Outer
include Mixin
end
Mixin.included_modules #=> []
Outer.included_modules #=> [Mixin]
//}
@see Module#ancestors... -
REXML
:: AttlistDecl # include?(key) -> bool (6102.0) -
key が属性名であるならば真を返します。
key が属性名であるならば真を返します。
@param key 属性名であるかどうか判定する文字列 -
Range
# include?(obj) -> bool (3126.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 Range#cover?... -
Set
# include?(o) -> bool (3114.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 (3102.0) -
与えられたキーがクエリに含まれている場合は、真を返します。 そうでない場合は、偽を返します。
与えられたキーがクエリに含まれている場合は、真を返します。
そうでない場合は、偽を返します。
@param args キーを一つ以上指定します。 -
CSV
:: Row # include?(name) -> bool (3102.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 (3102.0) -
key がデータベース中に存在する時、真を返します。
key がデータベース中に存在する時、真を返します。
@param key キー。