1820件ヒット
[1-100件を表示]
(0.123秒)
種類
ライブラリ
- ビルトイン (536)
-
bigdecimal
/ ludcmp (11) -
cgi
/ core (33) - cmath (6)
- csv (11)
- dbm (11)
- delegate (11)
- erb (44)
- fiddle (22)
-
fiddle
/ import (11) -
fiddle
/ types (22) - gdbm (11)
- ipaddr (22)
-
irb
/ ext / math-mode (4) -
minitest
/ spec (1) -
minitest
/ unit (2) - mkmf (55)
- monitor (22)
-
net
/ http (11) - objspace (11)
- openssl (44)
- pathname (44)
- profiler (6)
- rake (22)
-
rake
/ packagetask (22) - rbconfig (11)
-
rdoc
/ context (44) -
rdoc
/ include (11) -
rdoc
/ text (11) -
rexml
/ document (11) -
rexml
/ parsers / sax2parser (55) -
rexml
/ sax2listener (11) -
rexml
/ streamlistener (22) -
rinda
/ tuplespace (11) -
rubygems
/ version (11) - sdbm (11)
- set (15)
- singleton (22)
- socket (22)
- syslog (22)
- tsort (64)
-
webrick
/ httpauth / htdigest (11) -
webrick
/ httpauth / htpasswd (11) -
webrick
/ httpresponse (55) -
webrick
/ httpserver (22) -
webrick
/ httputils (11) - win32ole (44)
クラス
- Array (11)
-
CSV
:: Row (11) - DBM (11)
- Delegator (11)
- GDBM (11)
-
Gem
:: Version (11) - Hash (11)
- IPAddr (22)
-
IRB
:: Context (4) - Method (22)
- Module (197)
- Object (100)
-
OpenSSL
:: ASN1 :: ObjectId (22) -
OpenSSL
:: X509 :: Extension (22) - Pathname (44)
-
RDoc
:: Context (44) -
RDoc
:: Options (22) -
REXML
:: AttlistDecl (11) -
REXML
:: Parsers :: SAX2Parser (55) -
Rake
:: FileList (22) -
Rake
:: PackageTask (22) - Range (17)
- Refinement (3)
- SDBM (11)
- Set (15)
- Socket (11)
- String (11)
- TracePoint (11)
- UnboundMethod (11)
-
WEBrick
:: Cookie (22) -
WEBrick
:: HTTPResponse (55) -
WEBrick
:: HTTPServer (22) - WIN32OLE (33)
-
WIN32OLE
_ VARIANT (11)
モジュール
-
CGI
:: QueryExtension (33) -
ERB
:: Util (44) - Enumerable (22)
- GC (11)
- Kernel (66)
- LUSolve (11)
-
MiniTest
:: Assertions (2) - ObjectSpace (11)
- Process (22)
-
Process
:: GID (22) -
Process
:: UID (22) -
RDoc
:: Text (11) -
REXML
:: StreamListener (11) - RbConfig (11)
- Singleton (11)
-
Socket
:: Constants (11) - Syslog (22)
- TSort (64)
-
WEBrick
:: HTTPUtils (11)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - < (11)
- <= (11)
- <=> (11)
- === (11)
- > (11)
- >= (11)
- BasicTypes (11)
- BlockCaller (11)
- CMath (6)
- CStruct (11)
- Closure (11)
- HTTPExceptions (11)
- Htdigest (11)
- Htpasswd (11)
- Include (11)
-
MCAST
_ INCLUDE (22) - Monitor (11)
- MonitorMixin (11)
-
NEWS for Ruby 2
. 1 . 0 (11) -
NEWS for Ruby 2
. 7 . 0 (5) -
NEWS for Ruby 3
. 0 . 0 (4) -
Profiler
_ _ (6) - Range (11)
- Ruby用語集 (11)
- SAX2Listener (11)
- Singleton (11)
- StreamListener (11)
- TOPDIR (11)
- TupleSpace (11)
- WUNTRACED (11)
- Win32Types (11)
-
_ getproperty (11) -
_ invoke (11) -
_ setproperty (11) -
add
_ include (11) -
add
_ to (11) -
assert
_ includes (1) -
assert
_ send (1) -
bigdecimal
/ math (11) - bind (11)
- body= (11)
- cgi (11)
- chunked= (11)
-
const
_ defined? (11) -
const
_ get (11) -
const
_ source _ location (5) - constants (11)
-
content
_ length (11) -
content
_ length= (11) -
defined
_ class (11) -
dir
_ config (11) -
each
_ child (22) -
each
_ entry (11) -
each
_ strongly _ connected _ component (11) -
each
_ strongly _ connected _ component _ from (42) -
enable
_ config (22) - entitydecl (11)
- entries (11)
- eql? (11)
- fiddle (11)
-
fiddle
/ types (11) - find (11)
-
garbage
_ collect (11) - getrlimit (11)
- h (11)
-
has
_ key? (11) -
html
_ escape (11) -
import
_ methods (3) - include? (165)
-
include
_ class _ new (11) -
include
_ line _ numbers (11) - included (11)
-
included
_ modules (11) - includes (11)
-
initialize
_ methods _ etc (11) - inspect (11)
- instance (11)
-
irb
/ completion (11) -
is
_ a? (11) - key? (11)
-
kind
_ of? (11) - listen (55)
- lusolve (11)
- markup (11)
- mask (11)
- mask= (11)
-
math
_ mode= (4) - member? (21)
-
method
_ defined? (11) - methods (11)
-
mime
_ type (11) - mount (11)
-
must
_ include (1) - new (66)
-
package
_ files (11) - parse (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) -
rb
_ ary _ includes (11) -
rb
_ include _ module (11) -
rb
_ mod _ append _ features (11) -
rb
_ mod _ include (11) -
rb
_ mod _ include _ p (11) -
rb
_ mod _ included _ modules (11) - rdoc (11)
-
rdoc
/ include (11) -
rdoc
_ include (11) - resolve (11)
-
respond
_ to? (11) -
respond
_ to _ missing? (22) -
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 4 feature (11) -
ruby2
_ keywords (5) -
rubygems
/ commands / install _ command (11) -
singleton
_ methods (11) - switch (44)
- syscall (11)
-
to
_ s (22) -
top
_ include (11) -
trace
_ object _ allocations (11) - tsort (11)
-
tsort
_ each (11) - u (11)
-
url
_ encode (11) -
virtual
_ host (11) -
with
_ config (22) - 変数と定数 (11)
検索結果
先頭5件
-
static VALUE include
_ class _ new(VALUE module , VALUE super) (32200.0) -
super をスーパークラスとして モジュールの「化身」クラスを作成し返します。
super をスーパークラスとして
モジュールの「化身」クラスを作成し返します。 -
main
. include(*modules) -> self (27219.0) -
引数 modules で指定したモジュールを後ろから順番に Object にインクルードします。
...odules Module のインスタンス( Enumerable など)を指定します。
@raise ArgumentError 継承関係が循環してしまうような include を行った場
合に発生します。
//emlist[例:][ruby]{
include Math
hypot(3, 4) # => 5.0
//}
@see Module#include... -
irb
/ completion (26006.0) -
irb の completion 機能を提供するライブラリです。
...irb の completion 機能を提供するライブラリです。
=== 使い方
$ irb -r irb/completion
とするか, ~/.irbrc 中に
require "irb/completion"
を入れてください.
irb実行中に require "irb/completion" してもよいです.
irb 実行中に [Tab] を押すとコ......全に補完します.
irb(main):001:0> in
in inspect instance_eval
include install_alias_method instance_of?
initialize install_aliases instance_variables
irb(main):001:0> inspect
"main"
irb(main):002:0> foo = Objec......覧がでます.
irb(main):003:0> foo.
foo.== foo.frozen? foo.protected_methods
foo.=== foo.hash foo.public_methods
foo.=~ foo.id foo.respond_to?
foo.__id__ foo.inspect f... -
Module
# include(*mod) -> self (24267.0) -
モジュール mod をインクルードします。
...定します。
@raise ArgumentError 継承関係が循環してしまうような include を行った場合に発生します。
//emlist[例][ruby]{
module M
end
module M2
include M
end
module M
include M2
end
//}
実行結果:
-:3:in `append_features': cyclic include detected (Argument......in `include'
from -:3
インクルードとは、指定されたモジュールの定義
(メソッド、定数) を引き継ぐことです。
インクルードは多重継承の代わりに用いられており、 mix-in とも呼びます。
//emlist[例][ruby]{
class C
include Fi......leTest
include Math
end
p C.ancestors
# => [C, Math, FileTest, Object, Kernel]
//}
モジュールの機能追加は、クラスの継承関係の間にそのモジュールが挿入
されることで実現されています。従って、メソッドの探索などは
スーパークラスよ... -
Rake
:: FileList # include(*filenames) -> self (24213.0) -
ファイル名のパターンを追加リストに登録します。 配列が与えられた場合、配列の各要素が追加されます。
...ターンを追加リストに登録します。
配列が与えられた場合、配列の各要素が追加されます。
@param filenames 追加するファイル名のパターンを指定します。
例:
file_list.include("*.java", "*.cfg")
file_list.include %w( math.c lib.h *.o )... -
RDoc
:: Options # include _ line _ numbers -> bool (15317.0) -
コマンドライン引数の --include-line-numbers を指定していた場合に true を返します。そうでない場合は false を返します。
...コマンドライン引数の --include-line-numbers を指定していた場合に true
を返します。そうでない場合は false を返します。... -
String
# include?(substr) -> bool (15219.0) -
文字列中に部分文字列 substr が含まれていれば真を返します。
...文字列中に部分文字列 substr が含まれていれば真を返します。
@param substr 検索する文字列
//emlist[例][ruby]{
"hello".include? "lo" #=> true
"hello".include? "ol" #=> false
"hello".include? ?h #=> true
//}... -
MiniTest
:: Assertions # assert _ includes(collection , object , message = nil) -> true (15206.0) -
与えられたコレクションにオブジェクトが含まれている場合、検査にパスしたことになります。
...与えられたコレクションにオブジェクトが含まれている場合、検査にパスしたことになります。
@param collection 任意のコレクションを指定します。
@param object 任意のオブジェクトを指定します。
@param message 検査に失敗した......Proc を指定します。Proc である場合は Proc#call した
結果を使用します。
@raise MiniTest::Assertion 第一引数のオブジェクトが include? メソッドを持たない場合に発生します。
与えられたコレクション... -
RDoc
:: Context # add _ include(an _ include) -> () (12430.0) -
引数で指定した RDoc::Include オブジェクトを追加します。
...引数で指定した RDoc::Include オブジェクトを追加します。
@param an_include RDoc::Include オブジェクトを指定します。... -
RDoc
:: Context # includes -> [RDoc :: Include] (12417.0) -
追加された RDoc::Include の配列を返します。
...追加された RDoc::Include の配列を返します。...