352件ヒット
[1-100件を表示]
(0.026秒)
種類
- 特異メソッド (209)
- インスタンスメソッド (55)
- モジュール関数 (44)
- 文書 (22)
- 関数 (22)
ライブラリ
- ビルトイン (231)
-
net
/ smtp (11) - pathname (33)
-
webrick
/ httpproxy (22) - zlib (11)
クラス
- IO (187)
-
Net
:: SMTP (11) - Pathname (33)
-
Zlib
:: GzipWriter (11)
モジュール
- Kernel (44)
オブジェクト
-
WEBrick
:: NullReader (22)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - binread (11)
- gets (11)
- popen (154)
- printf (11)
-
rb
_ thread _ initialize (11) -
rb
_ thread _ start (11) - readlines (11)
- ready (11)
-
ruby 1
. 9 feature (11) - spawn (44)
検索結果
先頭5件
-
Pathname
# read(*args) -> String | nil (18240.0) -
IO.read(self.to_s, *args)と同じです。
...IO.read(self.to_s, *args)と同じです。
@see IO.read... -
WEBrick
:: NullReader . read(*args) -> nil (18203.0) -
常に nil を返します。
常に nil を返します。 -
IO
. read(path , **opt) -> String | nil (18145.0) -
path で指定されたファイルを offset 位置から length バイト分読み込んで返します。
...合は nil を返します。ただし、length に nil か 0 が指定されている場合は、空文字列 "" を返します。例えば、IO.read(空ファイル) は "" を返します。
引数 length が指定された場合はバイナリ読み込みメソッド、そうでない場合は......:open_args
IO.open に渡される引数を配列で指定します。
これらの他、 :external_encoding など
IO.open のオプション引数が指定できます。
@see IO.binread
例:
IO.read(empty_file) #=> ""
IO.read(empty_file, 1) #=> nil
IO.read(one_......byte_file, 0, 10) #=> ""
IO.read(one_byte_file, nil, 10) #=> ""
IO.read(one_byte_file, 1, 10) #=> nil... -
IO
. read(path , length = nil , **opt) -> String | nil (18145.0) -
path で指定されたファイルを offset 位置から length バイト分読み込んで返します。
...合は nil を返します。ただし、length に nil か 0 が指定されている場合は、空文字列 "" を返します。例えば、IO.read(空ファイル) は "" を返します。
引数 length が指定された場合はバイナリ読み込みメソッド、そうでない場合は......:open_args
IO.open に渡される引数を配列で指定します。
これらの他、 :external_encoding など
IO.open のオプション引数が指定できます。
@see IO.binread
例:
IO.read(empty_file) #=> ""
IO.read(empty_file, 1) #=> nil
IO.read(one_......byte_file, 0, 10) #=> ""
IO.read(one_byte_file, nil, 10) #=> ""
IO.read(one_byte_file, 1, 10) #=> nil... -
IO
. read(path , length = nil , offset = 0 , **opt) -> String | nil (18145.0) -
path で指定されたファイルを offset 位置から length バイト分読み込んで返します。
...合は nil を返します。ただし、length に nil か 0 が指定されている場合は、空文字列 "" を返します。例えば、IO.read(空ファイル) は "" を返します。
引数 length が指定された場合はバイナリ読み込みメソッド、そうでない場合は......:open_args
IO.open に渡される引数を配列で指定します。
これらの他、 :external_encoding など
IO.open のオプション引数が指定できます。
@see IO.binread
例:
IO.read(empty_file) #=> ""
IO.read(empty_file, 1) #=> nil
IO.read(one_......byte_file, 0, 10) #=> ""
IO.read(one_byte_file, nil, 10) #=> ""
IO.read(one_byte_file, 1, 10) #=> nil... -
static VALUE rb
_ thread _ initialize(VALUE thread , VALUE args) (6300.0) -
-
Pathname
# binread(*args) -> String | nil (6217.0) -
IO.binread(self.to_s, *args)と同じです。
....binread(self.to_s, *args)と同じです。
//emlist[例][ruby]{
require "pathname"
pathname = Pathname("testfile")
pathname.binread # => "This is line one\nThis is line two\nThis is line three\nAnd so on...\n"
pathname.binread(20) # => "This is line one\nThi"
pathname.binread(20,......10) # => "ne one\nThis is line "
//}
@see IO.binread... -
Pathname
# readlines(*args) -> [String] (6217.0) -
IO.readlines(self.to_s, *args)と同じです。
...IO.readlines(self.to_s, *args)と同じです。
@see IO.readlines... -
static VALUE rb
_ thread _ start(VALUE klass , VALUE args) (6200.0) -
-
Net
:: SMTP # ready(from _ addr , *to _ addrs) {|f| . . . . } -> () (3112.0) -
メール書き込みの準備をし、書き込み先のストリームオブジェクトを ブロックに渡します。ブロック終了後、書きこんだ結果が 送られます。
...ソッドを持っています。
* puts(str = '') strを出力して CR LFを出力
* print(str) strを出力
* printf(fmt, *args) sprintf(fmt,*args) を出力
* write(str):: str を出力して書き込んだバイト数を返す
* <<(str):: str を出力して......rom: from@example.com'
f.puts 'To: to@example.net'
f.puts 'Subject: test mail'
f.puts
f.puts 'This is test mail.'
}
}
ready は obsolete です。
@param from_addr 送信元のメールアドレス
@param to_addrs 送信先のメールアドレス(複数可、少な...