119件ヒット
[1-100件を表示]
(0.133秒)
ライブラリ
- ビルトイン (47)
-
cgi
/ html (11) -
net
/ ftp (9) -
net
/ imap (11) - shell (6)
-
shell
/ builtin-command (12) -
shell
/ command-processor (6) -
shell
/ filter (6) -
webrick
/ httputils (11)
クラス
- Array (14)
- Module (33)
-
Net
:: FTP :: MLSxEntry (9) -
Net
:: IMAP (11) - Shell (6)
-
Shell
:: AppendFile (6) -
Shell
:: AppendIO (6) -
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) -
WEBrick
:: HTTPUtils :: FormData (11)
モジュール
-
CGI
:: TagMaker (11)
キーワード
-
append
_ data (11) -
append
_ features (11) - appendable? (9)
- include (11)
- included (11)
- input= (12)
-
nOE
_ element _ def (11) - push (7)
検索結果
先頭5件
- Shell
# append(to , filter) -> Shell :: AppendFile | Shell :: AppendIO - Shell
:: CommandProcessor # append(to , filter) -> Shell :: AppendFile | Shell :: AppendIO - Shell
:: Filter # append(to , filter) -> Shell :: AppendFile | Shell :: AppendIO - Net
:: IMAP # append(mailbox , message , flags = nil , date _ time = nil) -> Net :: IMAP :: TaggedResponse - Array
# append(*obj) -> self
-
Shell
# append(to , filter) -> Shell :: AppendFile | Shell :: AppendIO (21402.0) -
@todo
...@todo
@param to 文字列か IO を指定します。
@param filter Shell::Filter のインスタンスを指定します。... -
Shell
:: CommandProcessor # append(to , filter) -> Shell :: AppendFile | Shell :: AppendIO (21402.0) -
@todo
...@todo
@param to 文字列か IO を指定します。
@param filter Shell::Filter のインスタンスを指定します。... -
Shell
:: Filter # append(to , filter) -> Shell :: AppendFile | Shell :: AppendIO (21402.0) -
@todo
...@todo
@param to 文字列か IO を指定します。
@param filter Shell::Filter のインスタンスを指定します。... -
Net
:: IMAP # append(mailbox , message , flags = nil , date _ time = nil) -> Net :: IMAP :: TaggedResponse (18224.0) -
APPEND コマンドを送ってメッセージをメールボックスの末尾に追加します。
...
APPEND コマンドを送ってメッセージをメールボックスの末尾に追加します。
例:
imap.append("inbox", <<EOF.gsub(/\n/, "\r\n"), [:Seen], Time.now)
Subject: hello
From: someone@example.com
To: somebody@example.com
hello world
EOF
@param mailbox メッセー......ジを追加するメールボックス名(文字列)
@param message メッセージ文字列
@param flags メッセージに付加するフラグ(Symbol の配列)
@param date_time メッセージの時刻(Time オブジェクト)。省略時は現在時刻が使われる
@raise Net::IMAP::NoRespon... -
Array
# append(*obj) -> self (18202.0) -
指定された 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,... -
Net
:: FTP :: MLSxEntry # appendable? -> bool (12201.0) -
エントリが追記可能であれば true を返します。
...エントリが追記可能であれば true を返します。
APPE コマンド(Net::FTP#putbinaryfile など)
が適用可能であるかどうかを意味します。... -
Module
# append _ features(module _ or _ class) -> self (9220.0) -
モジュール(あるいはクラス)に self の機能を追加します。
...クラス)に self の機能を追加します。
このメソッドは Module#include の実体であり、
include を Ruby で書くと以下のように定義できます。
//emlist[例][ruby]{
def include(*modules)
modules.reverse_each do |mod|
# append_features や included はプラ......イベートメソッドなので
# 直接 mod.append_features(self) などとは書けない
mod.__send__(:append_features, self)
mod.__send__(:included, self)
end
end
//}
@see Module#included... -
WEBrick
:: HTTPUtils :: FormData # append _ data(data) -> self (9202.0) -
WEBrick::HTTPUtils の内部で使われます。ユーザがこのメソッドを直接呼ぶことはありません。
...WEBrick::HTTPUtils の内部で使われます。ユーザがこのメソッドを直接呼ぶことはありません。... -
CGI
:: TagMaker # nOE _ element _ def(element , append = nil) (6302.0) -
@todo
@todo -
Module
# include(*mod) -> self (6107.0) -
モジュール mod をインクルードします。
...。
@param mod Module のインスタンス( Enumerable など)を指定します。
@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 (ArgumentError)
from -:3:in `include'
from -:3
インクルードとは、指定されたモジュールの定義
(メソッド、定数) を引き継ぐことです。
インクルードは多重継承の代わりに......用いられており、 mix-in とも呼びます。
//emlist[例][ruby]{
class C
include FileTest
include Math
end
p C.ancestors
# => [C, Math, FileTest, Object, Kernel]
//}
モジュールの機能追加は、クラスの継承関係の間にそのモジュールが挿入
されること... -
Module
# included(class _ or _ module) -> () (6107.0) -
self が Module#include されたときに対象のクラスまたはモジュー ルを引数にしてインタプリタがこのメソッドを呼び出します。
...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...