152件ヒット
[101-152件を表示]
(0.072秒)
別のキーワード
ライブラリ
- ビルトイン (52)
-
cgi
/ html (12) -
net
/ ftp (10) -
net
/ imap (12) - rake (24)
- shell (6)
-
shell
/ builtin-command (12) -
shell
/ command-processor (6) -
shell
/ filter (6) -
webrick
/ httputils (12)
クラス
- Array (16)
- Module (36)
-
Net
:: FTP :: MLSxEntry (10) -
Net
:: IMAP (12) -
Rake
:: InvocationChain (12) -
Rake
:: InvocationChain :: EmptyInvocationChain (12) - Shell (6)
-
Shell
:: AppendFile (6) -
Shell
:: AppendIO (6) -
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) -
WEBrick
:: HTTPUtils :: FormData (12)
モジュール
-
CGI
:: TagMaker (12)
キーワード
-
append
_ data (12) -
append
_ features (12) - appendable? (10)
- include (12)
- included (12)
- input= (12)
-
nOE
_ element _ def (12) - push (8)
検索結果
先頭5件
-
Array
# push(*obj) -> self (3002.0) -
指定された obj を順番に配列の末尾に追加します。 引数を指定しなければ何もしません。
指定された obj を順番に配列の末尾に追加します。
引数を指定しなければ何もしません。
@param obj 自身に追加したいオブジェクトを指定します。
//emlist[例][ruby]{
array = [1, 2, 3]
array.push 4
array.push [5, 6]
array.push 7, 8
p array # => [1, 2, 3, 4, [5, 6], 7, 8]
//}
@see Array#pop, Array#shift, Array#unshift, Array#<< -
Shell
:: AppendFile # input=(filter) (3001.0) -
@todo
@todo -
Shell
:: AppendIO # input=(filter) (3001.0) -
@todo
@todo -
CGI
:: TagMaker # nOE _ element _ def(element , append = nil) (102.0) -
@todo
@todo -
Module
# include(*mod) -> self (7.0) -
モジュール mod をインクルードします。
...場合に発生します。
//emlist[例][ruby]{
module M
end
module M2
include M
end
module M
include M2
end
//}
実行結果:
-:3:in `append_features': cyclic include detected (ArgumentError)
from -:3:in `include'
from -:3
インクルードとは、指定された... -
Module
# included(class _ or _ module) -> () (7.0) -
self が Module#include されたときに対象のクラスまたはモジュー ルを引数にしてインタプリタがこのメソッドを呼び出します。
...このメソッドを呼び出します。
@param class_or_module Module#include を実行したオブジェクト
//emlist[例][ruby]{
module Foo
def self.included(mod)
p "#{mod} include #{self}"
end
end
class Bar
include Foo
end
# => "Bar include Foo"
//}
@see Module#append_features...