390件ヒット
[301-390件を表示]
(0.038秒)
ライブラリ
- ビルトイン (60)
-
cgi
/ core (24) -
irb
/ context (12) - json (12)
-
net
/ pop (108) -
net
/ telnet (6) - pp (24)
- prettyprint (12)
-
rubygems
/ commands / dependency _ command (12) -
rubygems
/ requirement (12) - socket (12)
- stringio (36)
- uri (24)
-
webrick
/ httpresponse (36)
クラス
-
ARGF
. class (12) - CGI (24)
-
Gem
:: Commands :: DependencyCommand (12) -
Gem
:: Requirement (12) -
IRB
:: Context (12) -
JSON
:: Parser (12) - Module (12)
-
Net
:: POPMail (108) -
Net
:: Telnet (6) - Object (36)
- PrettyPrint (12)
- Socket (12)
- String (24)
- StringIO (36)
-
URI
:: MailTo (24) -
WEBrick
:: HTTPResponse (36)
キーワード
- all (36)
- connect (12)
-
content
_ length (12) -
content
_ length= (12) -
each
_ char (24) - header (12)
-
inplace
_ mode (12) -
instance
_ method (12) - mail (36)
- newline (12)
- pop (36)
-
pretty
_ print (12) -
pretty
_ print _ inspect (12) -
pretty
_ print _ instance _ variables (12) -
print
_ dependencies (12) - printf (12)
- puts (2)
-
return
_ format (12) - source (12)
-
to
_ mailtext (12) -
to
_ rfc822text (12) -
to
_ s (24) - write (2)
検索結果
先頭5件
-
WEBrick
:: HTTPResponse # content _ length -> Integer | nil (13.0) -
Content-Length ヘッダの値を整数で表すアクセサです。デフォルトは nil です。
...Content-Length ヘッダの値を整数で表すアクセサです。デフォルトは nil です。
: body が String オブジェクトである場合
content_length の値が nil のとき Content-Length ヘッダには
body のサイズが使われます。nil でないとき body の実......ebrick'
include WEBrick
res = HTTPResponse.new( { :HTTPVersion => "1.1" } )
f = File.new('testfile')
res.body = f
res.content_length = 2
print res.to_s
#=> 出力結果
HTTP/1.1 200 OK
Connection: Keep-Alive
Date: Sat, 27 Oct 2007 12:04:32 GMT
Server:
Content-Length: 2... -
WEBrick
:: HTTPResponse # content _ length=(len) (13.0) -
Content-Length ヘッダの値を整数で表すアクセサです。デフォルトは nil です。
...Content-Length ヘッダの値を整数で表すアクセサです。デフォルトは nil です。
: body が String オブジェクトである場合
content_length の値が nil のとき Content-Length ヘッダには
body のサイズが使われます。nil でないとき body の実......ebrick'
include WEBrick
res = HTTPResponse.new( { :HTTPVersion => "1.1" } )
f = File.new('testfile')
res.body = f
res.content_length = 2
print res.to_s
#=> 出力結果
HTTP/1.1 200 OK
Connection: Keep-Alive
Date: Sat, 27 Oct 2007 12:04:32 GMT
Server:
Content-Length: 2... -
Net
:: POPMail # all {|str| . . . . } -> nil (10.0) -
メールを受信します。
...ックを利用する例:
require 'net/pop'
Net::POP3.start('pop.example.com', 110) {|pop|
pop.each_mail do |m|
m.pop do |str|
print str
end
end
}
@param io メールの内容を書きこむオブジェクト
@raise TimeoutError 通信がタイムアウトした... -
Net
:: POPMail # all(io) -> object (10.0) -
メールを受信します。
...ックを利用する例:
require 'net/pop'
Net::POP3.start('pop.example.com', 110) {|pop|
pop.each_mail do |m|
m.pop do |str|
print str
end
end
}
@param io メールの内容を書きこむオブジェクト
@raise TimeoutError 通信がタイムアウトした... -
Net
:: POPMail # mail {|str| . . . . } -> nil (10.0) -
メールを受信します。
...ックを利用する例:
require 'net/pop'
Net::POP3.start('pop.example.com', 110) {|pop|
pop.each_mail do |m|
m.pop do |str|
print str
end
end
}
@param io メールの内容を書きこむオブジェクト
@raise TimeoutError 通信がタイムアウトした... -
Net
:: POPMail # mail(io) -> object (10.0) -
メールを受信します。
...ックを利用する例:
require 'net/pop'
Net::POP3.start('pop.example.com', 110) {|pop|
pop.each_mail do |m|
m.pop do |str|
print str
end
end
}
@param io メールの内容を書きこむオブジェクト
@raise TimeoutError 通信がタイムアウトした... -
Net
:: POPMail # pop {|str| . . . . } -> nil (10.0) -
メールを受信します。
...ックを利用する例:
require 'net/pop'
Net::POP3.start('pop.example.com', 110) {|pop|
pop.each_mail do |m|
m.pop do |str|
print str
end
end
}
@param io メールの内容を書きこむオブジェクト
@raise TimeoutError 通信がタイムアウトした... -
Net
:: POPMail # pop(io) -> object (10.0) -
メールを受信します。
...ックを利用する例:
require 'net/pop'
Net::POP3.start('pop.example.com', 110) {|pop|
pop.each_mail do |m|
m.pop do |str|
print str
end
end
}
@param io メールの内容を書きこむオブジェクト
@raise TimeoutError 通信がタイムアウトした...