種類
- インスタンスメソッド (11)
- 特異メソッド (4)
- 定数 (2)
- モジュール関数 (2)
ライブラリ
- ビルトイン (8)
- fcntl (1)
- logger (1)
-
mutex
_ m (1) -
net
/ ftp (1) -
net
/ imap (1) - readline (2)
- shell (1)
-
shell
/ command-processor (1) -
shell
/ filter (1) -
webrick
/ httputils (1)
クラス
- Array (2)
- Logger (1)
- Module (3)
-
Net
:: FTP :: MLSxEntry (1) -
Net
:: IMAP (1) - Shell (1)
-
Shell
:: CommandProcessor (1) -
Shell
:: Filter (1) -
WEBrick
:: HTTPUtils :: FormData (1)
モジュール
- Fcntl (1)
-
File
:: Constants (1) - Kernel (2)
-
Mutex
_ m (1) - Readline (2)
キーワード
- APPEND (1)
-
O
_ APPEND (1) -
append
_ data (1) -
append
_ features (2) - appendable? (1)
-
completion
_ append _ character (1) -
completion
_ append _ character= (1) - include (1)
- included (1)
- new (1)
- open (2)
- push (1)
検索結果
先頭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 (64504.0) -
@todo
@todo
@param to 文字列か IO を指定します。
@param filter Shell::Filter のインスタンスを指定します。 -
Shell
:: CommandProcessor # append(to , filter) -> Shell :: AppendFile | Shell :: AppendIO (64504.0) -
@todo
@todo
@param to 文字列か IO を指定します。
@param filter Shell::Filter のインスタンスを指定します。 -
Shell
:: Filter # append(to , filter) -> Shell :: AppendFile | Shell :: AppendIO (64504.0) -
@todo
@todo
@param to 文字列か IO を指定します。
@param filter Shell::Filter のインスタンスを指定します。 -
Net
:: IMAP # append(mailbox , message , flags = nil , date _ time = nil) -> Net :: IMAP :: TaggedResponse (54970.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 メッセージに付加するフラグ(S... -
Array
# append(*obj) -> self (54904.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#<< -
Readline
. completion _ append _ character -> String (36922.0) -
ユーザの入力の補完が完了した場合に、最後に付加する文字を取得します。
ユーザの入力の補完が完了した場合に、最後に付加する文字を取得します。
@raise NotImplementedError サポートしていない環境で発生します。
@see Readline.completion_append_character= -
Net
:: FTP :: MLSxEntry # appendable? -> bool (36901.0) -
エントリが追記可能であれば true を返します。
エントリが追記可能であれば true を返します。
APPE コマンド(Net::FTP#putbinaryfile など)
が適用可能であるかどうかを意味します。 -
Readline
. completion _ append _ character=(string) (36730.0) -
ユーザの入力の補完が完了した場合に、最後に付加する文字 string を指定します。
ユーザの入力の補完が完了した場合に、最後に付加する文字 string を指定します。
@param string 1文字を指定します。
@raise NotImplementedError サポートしていない環境で発生します。
半角スペース「" "」などの単語を区切る文字を指定すれば、
連続して入力する際に便利です。
require 'readline'
Readline.readline("> ", true)
Readline.completion_append_character = " "
> /var/li
ここで補完(TABキーを押す)を行う。
>... -
Module
# append _ features(module _ or _ class) -> self (27958.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, s... -
WEBrick
:: HTTPUtils :: FormData # append _ data(data) -> self (27904.0) -
WEBrick::HTTPUtils の内部で使われます。ユーザがこのメソッドを直接呼ぶことはありません。
WEBrick::HTTPUtils の内部で使われます。ユーザがこのメソッドを直接呼ぶことはありません。 -
Fcntl
:: O _ APPEND -> Integer (27604.0) -
ファイルを追記モードで開きます。
ファイルを追記モードで開きます。 -
File
:: Constants :: APPEND -> Integer (27604.0) -
追記モードでファイルを開くときに指定します。 File.openで使用します。
追記モードでファイルを開くときに指定します。
File.openで使用します。 -
Mutex
_ m . append _ features(klass) -> Class | nil (19222.0) -
ユーザが直接、使うことはありません。
ユーザが直接、使うことはありません。
@see Module#append_features -
Module
# include(*mod) -> self (18619.0) -
モジュール mod をインクルードします。
モジュール 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)
... -
Module
# included(class _ or _ module) -> () (18619.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_featu... -
Logger
. new(logdev , shift _ age = 0 , shift _ size = 1048576 , level: Logger :: Severity :: DEBUG , progname: nil , formatter: Formatter . new , datetime _ format: nil , shift _ period _ suffix: & # 39;%Y%m%d& # 39;) -> Logger (10219.0) -
Logger オブジェクトを生成します。
Logger オブジェクトを生成します。
@param logdev ログを書き込むファイル名か、 IO オブジェクト(STDOUT, STDERR など)を指定します。
@param shift_age ログファイルを保持する数か、ログファイルを切り替える頻度を指定します。
頻度には daily, weekly, monthly を文字列で指定することができます。
省略すると、ログの保存先を切り替えません。
@param shift_size shift_age を整数で指定した場合のみ有効です。
... -
Kernel
. # open(file , mode _ enc = "r" , perm = 0666) -> IO (9619.0) -
file をオープンして、IO(Fileを含む)クラスのインスタンスを返します。
file をオープンして、IO(Fileを含む)クラスのインスタンスを返します。
ブロックが与えられた場合、指定されたファイルをオープンし、
生成した IO オブジェクトを引数としてブロックを実行します。
ブロックの終了時や例外によりブロックを脱出するとき、
ファイルをクローズします。ブロックを評価した結果を返します。
ファイル名 file が `|' で始まる時には続く文字列をコマンドとして起動し、
コマンドの標準入出力に対してパイプラインを生成します
ファイル名が "|-" である時、open は Ruby の子プロセス
を生成し、その子プロセスとの間のパイプ(IOオブジェクト)を... -
Kernel
. # open(file , mode _ enc = "r" , perm = 0666) {|io| . . . } -> object (9619.0) -
file をオープンして、IO(Fileを含む)クラスのインスタンスを返します。
file をオープンして、IO(Fileを含む)クラスのインスタンスを返します。
ブロックが与えられた場合、指定されたファイルをオープンし、
生成した IO オブジェクトを引数としてブロックを実行します。
ブロックの終了時や例外によりブロックを脱出するとき、
ファイルをクローズします。ブロックを評価した結果を返します。
ファイル名 file が `|' で始まる時には続く文字列をコマンドとして起動し、
コマンドの標準入出力に対してパイプラインを生成します
ファイル名が "|-" である時、open は Ruby の子プロセス
を生成し、その子プロセスとの間のパイプ(IOオブジェクト)を... -
Array
# push(*obj) -> self (9604.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#<<