ライブラリ
- ビルトイン (638)
-
cgi
/ core (36) - csv (24)
- dbm (48)
- delegate (12)
- erb (12)
- gdbm (48)
- ipaddr (24)
-
irb
/ ext / math-mode (4) - matrix (24)
-
minitest
/ spec (1) -
minitest
/ unit (2) - mkmf (84)
- pathname (51)
- rake (24)
-
rake
/ packagetask (12) -
rdoc
/ context (48) -
rdoc
/ text (12) -
rexml
/ document (12) -
rexml
/ parsers / sax2parser (60) -
rexml
/ streamlistener (12) -
rubygems
/ version (12) - sdbm (48)
- set (23)
- socket (12)
- tsort (93)
-
webrick
/ httpresponse (60) -
webrick
/ httpserver (24) - win32ole (36)
クラス
- Array (12)
-
CSV
:: Row (24) - DBM (48)
- Delegator (12)
- ERB (12)
- GDBM (48)
-
Gem
:: Version (12) - Hash (48)
- IPAddr (24)
-
IRB
:: Context (4) - Method (24)
- Module (264)
- Object (121)
- Pathname (51)
- Proc (6)
-
RDoc
:: Context (48) -
RDoc
:: Options (24) -
REXML
:: AttlistDecl (12) -
REXML
:: Parsers :: SAX2Parser (60) -
Rake
:: FileList (24) -
Rake
:: PackageTask (12) - Range (55)
- Refinement (4)
- SDBM (48)
- Set (32)
- Socket (12)
- String (12)
- TracePoint (12)
- UnboundMethod (12)
- Vector (24)
-
WEBrick
:: HTTPResponse (60) -
WEBrick
:: HTTPServer (24) - WIN32OLE (36)
モジュール
-
CGI
:: QueryExtension (36) - Enumerable (48)
- GC (12)
- Kernel (84)
-
MiniTest
:: Assertions (2) -
RDoc
:: Text (12) -
REXML
:: StreamListener (12) - TSort (93)
キーワード
- < (12)
- <= (12)
- <=> (12)
- === (32)
- > (12)
- >= (12)
-
_ getproperty (12) -
_ invoke (12) -
_ setproperty (12) -
add
_ include (12) -
add
_ to (12) - ancestors (12)
-
append
_ features (12) -
assert
_ includes (1) -
assert
_ send (1) - bind (12)
- body= (12)
- chunked= (12)
-
connect
_ nonblock (12) -
const
_ defined? (12) -
const
_ get (12) -
const
_ source _ location (12) - constants (12)
-
content
_ length (12) -
content
_ length= (12) - cover? (19)
-
def
_ module (12) -
defined
_ class (12) -
dir
_ config (12) - each (24)
-
each
_ child (24) -
each
_ entry (39) -
each
_ strongly _ connected _ component (23) -
each
_ strongly _ connected _ component _ from (23) -
enable
_ config (24) - entitydecl (12)
- entries (12)
- eql? (12)
- extend (12)
-
garbage
_ collect (12) -
has
_ key? (60) - header? (12)
-
import
_ methods (4) - include? (168)
-
include
_ line _ numbers (12) - included (12)
-
included
_ modules (12) - includes (12)
-
initialize
_ methods _ etc (12) - inspect (12)
-
is
_ a? (12) - key? (60)
-
kind
_ of? (12) - listen (60)
- markup (12)
-
math
_ mode= (4) - member? (84)
-
method
_ defined? (12) - methods (12)
- mount (12)
-
must
_ include (1) -
package
_ files (12) -
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) -
rdoc
_ include (12) - resolve (12)
-
respond
_ to? (12) -
respond
_ to _ missing? (24) -
ruby2
_ keywords (18) -
singleton
_ methods (12) -
strongly
_ connected _ components (12) -
to
_ s (24) -
try
_ cpp (24) - tsort (12)
-
tsort
_ each (23) -
virtual
_ host (12) -
with
_ config (24)
検索結果
先頭5件
-
RDoc
:: Options # include _ line _ numbers -> bool (6118.0) -
コマンドライン引数の --include-line-numbers を指定していた場合に true を返します。そうでない場合は false を返します。
...コマンドライン引数の --include-line-numbers を指定していた場合に true
を返します。そうでない場合は false を返します。... -
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
//}......オブジェクト 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 (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
//}