ライブラリ
- ビルトイン (646)
- benchmark (11)
- coverage (40)
- date (462)
- drb (128)
- getoptlong (11)
- irb (11)
- logger (2)
-
minitest
/ unit (1) - monitor (11)
-
net
/ http (110) -
net
/ imap (22) -
net
/ pop (220) -
net
/ smtp (386) - objspace (44)
- open3 (22)
- openssl (22)
- profiler (6)
- psych (220)
-
rdoc
/ code _ object (22) -
rdoc
/ markup (11) -
rdoc
/ markup / formatter (11) -
rexml
/ parsers / pullparser (33) -
rexml
/ parsers / sax2parser (55) -
rexml
/ sax2listener (33) -
rexml
/ streamlistener (11) -
shell
/ system-command (12) - socket (22)
- thread (20)
- timeout (19)
-
webrick
/ cgi (11) -
webrick
/ httpproxy (11) -
webrick
/ httpserver (11) -
webrick
/ httpservlet / abstract (66) -
webrick
/ httputils (55) -
webrick
/ server (22)
クラス
- Array (176)
- Coverage (40)
-
DRb
:: DRbObject (11) -
DRb
:: DRbServer (95) - Date (286)
- DateTime (176)
- GetoptLong (11)
-
Logger
:: Application (1) - MatchData (70)
-
MiniTest
:: Unit (1) -
Net
:: HTTP (88) -
Net
:: HTTPResponse (22) -
Net
:: IMAP (22) -
Net
:: POP3 (121) -
Net
:: POPMail (99) -
Net
:: SMTP (386) - Object (11)
-
OpenSSL
:: SSL :: SSLServer (22) -
Psych
:: Handler (44) -
Psych
:: Nodes :: Document (11) -
Psych
:: Nodes :: Mapping (33) -
Psych
:: Nodes :: Sequence (22) -
Psych
:: Parser (33) -
Psych
:: Stream (22) -
Psych
:: Visitors :: YAMLTree (33) -
RDoc
:: CodeObject (22) -
RDoc
:: Markup (11) -
RDoc
:: Markup :: Formatter (11) -
REXML
:: Parsers :: PullEvent (33) -
REXML
:: Parsers :: SAX2Parser (55) -
Shell
:: SystemCommand (12) - Socket (11)
- String (36)
- Symbol (10)
- Thread (44)
-
Thread
:: ConditionVariable (22) -
Thread
:: Queue (33) -
Thread
:: SizedQueue (33) -
WEBrick
:: CGI (11) -
WEBrick
:: GenericServer (22) -
WEBrick
:: HTTPServer (11) -
WEBrick
:: HTTPServlet :: AbstractServlet (66) -
WEBrick
:: HTTPUtils :: FormData (55)
モジュール
- Benchmark (11)
- DRb (22)
- GC (22)
-
GC
:: Profiler (44) - IRB (11)
- Kernel (99)
- ObjectSpace (88)
- Open3 (22)
-
Profiler
_ _ (6) - Psych (22)
-
REXML
:: SAX2Listener (33) -
REXML
:: StreamListener (11) -
Socket
:: Constants (11) - Timeout (19)
キーワード
- ANY (22)
- APOP (11)
- Application (1)
- BLOCK (22)
- ConditionVariable (11)
- FLOW (11)
- HTTPProxyServer (11)
-
MSG
_ FLUSH (22) - MonitorMixin (11)
-
NEWS for Ruby 2
. 1 . 0 (11) -
NEWS for Ruby 2
. 3 . 0 (9) -
NEWS for Ruby 2
. 5 . 0 (7) -
NEWS for Ruby 2
. 6 . 0 (6) -
NEWS for Ruby 2
. 7 . 0 (5) -
NEWS for Ruby 3
. 0 . 0 (4) - Proxy (11)
-
STATUS
_ STARTED (11) - SizedQueue (11)
- UTF16BE (11)
- UTF16LE (11)
- UTF8 (11)
- [] (110)
- []= (33)
- abort (22)
- accept (11)
-
add
_ tag (11) -
add
_ word _ pair (11) - all (33)
-
allocation
_ sourcefile (11) -
allocation
_ sourceline (11) - at (11)
-
auth
_ cram _ md5 (11) -
auth
_ login (11) -
auth
_ plain (11) - authenticate (11)
-
backtrace
_ locations (22) - bmbm (11)
- broadcast (11)
- byteoffset (4)
- caller (33)
-
caller
_ locations (22) -
capable
_ auth _ types (11) -
capable
_ cram _ md5 _ auth? (11) -
capable
_ login _ auth? (11) -
capable
_ plain _ auth? (11) -
capable
_ starttls? (11) -
cgi
/ session (11) - civil (22)
- clear (11)
- commercial (22)
- config (11)
-
default
_ acl (11) -
default
_ argc _ limit (11) -
default
_ id _ conv (11) -
default
_ load _ limit (11) -
default
_ safe _ level (7) -
define
_ finalizer (22) -
delete
_ all (22) -
delete
_ prefix (7) -
delete
_ prefix! (7) - deq (22)
-
disable
_ starttls (11) -
do
_ DELETE (11) -
do
_ GET (11) -
do
_ HEAD (11) -
do
_ OPTIONS (11) -
do
_ POST (11) -
do
_ PUT (11) - drb (11)
- ehlo (11)
-
enable
_ ssl (11) -
enable
_ starttls (11) -
enable
_ starttls _ auto (11) -
enable
_ tls (11) -
end
_ with? (16) - england (11)
- exit (11)
- exit! (11)
- filename (11)
- fill (66)
- finish (11)
- foreach (11)
- fork (11)
- front (11)
-
garbage
_ collect (22) - gregorian (11)
- head (11)
- helo (11)
- httpdate (22)
- iso8601 (22)
- italy (11)
- jd (22)
- jisx0301 (22)
- julian (11)
- list (11)
- listen (55)
- load (11)
- mail (33)
- name (11)
-
net
/ http (11) -
net
/ imap (11) -
net
/ smtp (11) - new (66)
-
new
_ start (11) -
new
_ with _ uri (11) - now (11)
- offset (22)
- optparse (11)
- ordinal (22)
- parse (33)
-
peek
_ result (11) -
pipeline
_ start (22) - pop (55)
-
primary
_ server (11) -
proxy
_ from _ env? (11) -
raw
_ data (11) -
read
_ body (22) - ready (11)
- report (11)
-
respond
_ to? (11) - result (11)
-
rexml
/ parsers / pullparser (11) -
rexml
/ parsers / sax2parser (11) -
rexml
/ parsers / streamparser (11) -
rexml
/ parsers / ultralightparser (11) - rfc2822 (22)
- rfc3339 (22)
- rfc822 (22)
-
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 4 feature (11) - running? (7)
-
send
_ mail (11) - sendmail (11)
-
set
_ debug _ output (11) - shift (22)
- signal (11)
- slice! (33)
- ssl? (11)
-
start
_ doc (11) -
start
_ document (22) -
start
_ element (11) -
start
_ element? (11) -
start
_ immediately (11) -
start
_ import (6) -
start
_ mapping (11) -
start
_ prefix _ mapping (11) -
start
_ profile (6) -
start
_ sequence (11) -
start
_ service (11) -
start
_ stream (11) -
start
_ time (1) -
start
_ with? (16) - started (11)
- started? (44)
- starttls (33)
- starttls? (11)
-
starttls
_ always? (11) -
starttls
_ auto? (11) -
stop
_ doc (11) - strptime (22)
-
tag
_ start (11) - timeout (19)
- tls? (11)
-
to
_ ary (11) - today (22)
-
total
_ time (11) -
trace
_ object _ allocations _ start (11) -
trace
_ object _ allocations _ stop (11) -
undefine
_ finalizer (11) -
valid
_ civil? (11) -
valid
_ commercial? (11) -
valid
_ date? (11) -
valid
_ jd? (11) -
valid
_ ordinal? (11) - verbose (11)
-
virtual
_ host (11) -
webrick
/ cgi (11) - xmlschema (22)
- セキュリティモデル (11)
検索結果
先頭5件
- Net
:: SMTP . start(address , port = Net :: SMTP . default _ port , helo = & # 39;localhost& # 39; , user = nil , password = nil , authtype = DEFAULT _ AUTH _ TYPE) -> Net :: SMTP - Net
:: SMTP . start(address , port = Net :: SMTP . default _ port , helo = & # 39;localhost& # 39; , user = nil , password = nil , authtype = DEFAULT _ AUTH _ TYPE) {|smtp| . . . . } -> object - Net
:: SMTP . start(address , port = Net :: SMTP . default _ port , tls _ verify: true , tls _ hostname: nil , helo: & # 39;localhost& # 39; , user: nil , password: nil , authtype: DEFAULT _ AUTH _ TYPE) -> Net :: SMTP - Net
:: SMTP . start(address , port = Net :: SMTP . default _ port , tls _ verify: true , tls _ hostname: nil , helo: & # 39;localhost& # 39; , user: nil , password: nil , authtype: DEFAULT _ AUTH _ TYPE) {|smtp| . . . } -> object - Net
:: POP3 . start(address , port = nil , account=nil , password=nil , isapop=false) -> Net :: POP3
-
Net
:: SMTP . start(address , port = Net :: SMTP . default _ port , helo = & # 39;localhost& # 39; , user = nil , password = nil , authtype = DEFAULT _ AUTH _ TYPE) -> Net :: SMTP (18222.0) -
新しい SMTP オブジェクトを生成し、サーバに接続し、セッションを開始します。
...し、サーバに接続し、セッションを開始します。
以下と同じです。
require 'net/smtp'
Net::SMTP.new(address, port).start(helo: helo, user: user, password: password, authtype: authtype)
このメソッドにブロックを与えた場合には、新しく作られた......使用する認証のタイプで、
シンボルで :plain, :login, :cram_md5 を指定します。
Example:
require 'net/smtp'
Net::SMTP.start('smtp.example.com') {|smtp|
smtp.send_message mail_string, 'from@example.jp', 'to@example.jp'
}
@param address 接続するサーバをホス......発生します
@raise Net::SMTPServerBusy SMTPエラーコード420,450の場合に発生します
@raise Net::SMTPSyntaxError SMTPエラーコード500の場合に発生します
@raise Net::SMTPFatalError SMTPエラーコード5xxの場合に発生します
@see Net::SMTP#start, Net::SMTP.new... -
Net
:: SMTP . start(address , port = Net :: SMTP . default _ port , helo = & # 39;localhost& # 39; , user = nil , password = nil , authtype = DEFAULT _ AUTH _ TYPE) {|smtp| . . . . } -> object (18222.0) -
新しい SMTP オブジェクトを生成し、サーバに接続し、セッションを開始します。
...し、サーバに接続し、セッションを開始します。
以下と同じです。
require 'net/smtp'
Net::SMTP.new(address, port).start(helo: helo, user: user, password: password, authtype: authtype)
このメソッドにブロックを与えた場合には、新しく作られた......使用する認証のタイプで、
シンボルで :plain, :login, :cram_md5 を指定します。
Example:
require 'net/smtp'
Net::SMTP.start('smtp.example.com') {|smtp|
smtp.send_message mail_string, 'from@example.jp', 'to@example.jp'
}
@param address 接続するサーバをホス......発生します
@raise Net::SMTPServerBusy SMTPエラーコード420,450の場合に発生します
@raise Net::SMTPSyntaxError SMTPエラーコード500の場合に発生します
@raise Net::SMTPFatalError SMTPエラーコード5xxの場合に発生します
@see Net::SMTP#start, Net::SMTP.new... -
Net
:: SMTP . start(address , port = Net :: SMTP . default _ port , tls _ verify: true , tls _ hostname: nil , helo: & # 39;localhost& # 39; , user: nil , password: nil , authtype: DEFAULT _ AUTH _ TYPE) -> Net :: SMTP (18222.0) -
新しい SMTP オブジェクトを生成し、サーバに接続し、セッションを開始します。
...し、サーバに接続し、セッションを開始します。
以下と同じです。
require 'net/smtp'
Net::SMTP.new(address, port).start(helo: helo, user: user, password: password, authtype: authtype)
このメソッドにブロックを与えた場合には、新しく作られた......使用する認証のタイプで、
シンボルで :plain, :login, :cram_md5 を指定します。
Example:
require 'net/smtp'
Net::SMTP.start('smtp.example.com') {|smtp|
smtp.send_message mail_string, 'from@example.jp', 'to@example.jp'
}
@param address 接続するサーバをホス......発生します
@raise Net::SMTPServerBusy SMTPエラーコード420,450の場合に発生します
@raise Net::SMTPSyntaxError SMTPエラーコード500の場合に発生します
@raise Net::SMTPFatalError SMTPエラーコード5xxの場合に発生します
@see Net::SMTP#start, Net::SMTP.new... -
Net
:: SMTP . start(address , port = Net :: SMTP . default _ port , tls _ verify: true , tls _ hostname: nil , helo: & # 39;localhost& # 39; , user: nil , password: nil , authtype: DEFAULT _ AUTH _ TYPE) {|smtp| . . . } -> object (18222.0) -
新しい SMTP オブジェクトを生成し、サーバに接続し、セッションを開始します。
...し、サーバに接続し、セッションを開始します。
以下と同じです。
require 'net/smtp'
Net::SMTP.new(address, port).start(helo: helo, user: user, password: password, authtype: authtype)
このメソッドにブロックを与えた場合には、新しく作られた......使用する認証のタイプで、
シンボルで :plain, :login, :cram_md5 を指定します。
Example:
require 'net/smtp'
Net::SMTP.start('smtp.example.com') {|smtp|
smtp.send_message mail_string, 'from@example.jp', 'to@example.jp'
}
@param address 接続するサーバをホス......発生します
@raise Net::SMTPServerBusy SMTPエラーコード420,450の場合に発生します
@raise Net::SMTPSyntaxError SMTPエラーコード500の場合に発生します
@raise Net::SMTPFatalError SMTPエラーコード5xxの場合に発生します
@see Net::SMTP#start, Net::SMTP.new... -
Net
:: POP3 . start(address , port = nil , account=nil , password=nil , isapop=false) -> Net :: POP3 (18220.0) -
Net::POP3 オブジェクトを生成し、サーバへ接続します。
...以下のコードと同じ動作をします。
require 'net/pop'
Net::POP3.new(address, port, isapop).start(account, password)
使用例:
require 'net/pop'
Net::POP3.start(addr, port, account, password) {|pop|
pop.each_mail do |m|
file.write m.pop
m.delete
end
}......バがAPOPを提供していない場合に発生します
@raise Net::POPError サーバが認証失敗以外のエラーを報告した場合に発生します
@raise Net::POPBadResponse サーバからの応答がプロトコル上不正であった場合に発生します
@see Net::POP3#start... -
Net
:: POP3 . start(address , port = nil , account=nil , password=nil , isapop=false) {|pop| . . . . } -> object (18220.0) -
Net::POP3 オブジェクトを生成し、サーバへ接続します。
...以下のコードと同じ動作をします。
require 'net/pop'
Net::POP3.new(address, port, isapop).start(account, password)
使用例:
require 'net/pop'
Net::POP3.start(addr, port, account, password) {|pop|
pop.each_mail do |m|
file.write m.pop
m.delete
end
}......バがAPOPを提供していない場合に発生します
@raise Net::POPError サーバが認証失敗以外のエラーを報告した場合に発生します
@raise Net::POPBadResponse サーバからの応答がプロトコル上不正であった場合に発生します
@see Net::POP3#start... -
Net
:: SMTP . start(address , port = Net :: SMTP . default _ port , helo = & # 39;localhost& # 39; , user = nil , password = nil , authtype = DEFAULT _ AUTH _ TYPE) -> Net :: SMTP (18220.0) -
新しい SMTP オブジェクトを生成し、サーバに接続し、セッションを開始します。
...し、サーバに接続し、セッションを開始します。
以下と同じです。
require 'net/smtp'
Net::SMTP.new(address, port).start(helo, user, password, authtype)
このメソッドにブロックを与えた場合には、新しく作られた Net::SMTP オブジェクト
を......使用する認証のタイプで、
シンボルで :plain, :login, :cram_md5 を指定します。
Example:
require 'net/smtp'
Net::SMTP.start('smtp.example.com') {|smtp|
smtp.send_message mail_string, 'from@example.jp', 'to@example.jp'
}
@param address 接続するサーバをホス......発生します
@raise Net::SMTPServerBusy SMTPエラーコード420,450の場合に発生します
@raise Net::SMTPSyntaxError SMTPエラーコード500の場合に発生します
@raise Net::SMTPFatalError SMTPエラーコード5xxの場合に発生します
@see Net::SMTP#start, Net::SMTP.new... -
Net
:: SMTP . start(address , port = Net :: SMTP . default _ port , helo = & # 39;localhost& # 39; , user = nil , password = nil , authtype = DEFAULT _ AUTH _ TYPE) {|smtp| . . . . } -> object (18220.0) -
新しい SMTP オブジェクトを生成し、サーバに接続し、セッションを開始します。
...し、サーバに接続し、セッションを開始します。
以下と同じです。
require 'net/smtp'
Net::SMTP.new(address, port).start(helo, user, password, authtype)
このメソッドにブロックを与えた場合には、新しく作られた Net::SMTP オブジェクト
を......使用する認証のタイプで、
シンボルで :plain, :login, :cram_md5 を指定します。
Example:
require 'net/smtp'
Net::SMTP.start('smtp.example.com') {|smtp|
smtp.send_message mail_string, 'from@example.jp', 'to@example.jp'
}
@param address 接続するサーバをホス......発生します
@raise Net::SMTPServerBusy SMTPエラーコード420,450の場合に発生します
@raise Net::SMTPSyntaxError SMTPエラーコード500の場合に発生します
@raise Net::SMTPFatalError SMTPエラーコード5xxの場合に発生します
@see Net::SMTP#start, Net::SMTP.new... -
Net
:: HTTP . start(address , port = 80 , proxy _ addr = :ENV , proxy _ port = nil , proxy _ user=nil , proxy _ pass=nil) -> Net :: HTTP (18214.0) -
新しい Net::HTTP オブジェクトを生成し、 TCP コネクション、 HTTP セッションを開始します。
...は以下と同じです。
//emlist[例][ruby]{
require 'net/http'
Net::HTTP.new(address, port, proxy_addr, proxy_port, proxy_user, proxy_pass).start(&block)
//}
@param address 接続するホスト名を文字列で指定します。
@param port 接続するポート番号を指定します。
@......の認証のユーザ名を指定します。省略した場合には認証はなされません。
@param proxy_pass プロクシの認証のパスワードを指定します。
@raise Net::OpenTimeout 接続がタイムアウトしたときに発生します
@see Net::HTTP.new, Net::HTTP#start... -
Net
:: HTTP . start(address , port = 80 , proxy _ addr = :ENV , proxy _ port = nil , proxy _ user=nil , proxy _ pass=nil) {|http| . . . . } -> object (18214.0) -
新しい Net::HTTP オブジェクトを生成し、 TCP コネクション、 HTTP セッションを開始します。
...は以下と同じです。
//emlist[例][ruby]{
require 'net/http'
Net::HTTP.new(address, port, proxy_addr, proxy_port, proxy_user, proxy_pass).start(&block)
//}
@param address 接続するホスト名を文字列で指定します。
@param port 接続するポート番号を指定します。
@......の認証のユーザ名を指定します。省略した場合には認証はなされません。
@param proxy_pass プロクシの認証のパスワードを指定します。
@raise Net::OpenTimeout 接続がタイムアウトしたときに発生します
@see Net::HTTP.new, Net::HTTP#start... -
Coverage
. start(option = {}) -> nil (18213.0) -
カバレッジの測定を開始します。既に実行されていた場合には何も起こりません。 ただし、カバレッジ計測中に測定対象を変更しようとした場合は、RuntimeError となります。
...erage.start(:all)
load "bool.rb"
bool(0)
pp Coverage.result
# {"bool.rb"=>
# {:lines=>[1, 1, 1, nil, 0, nil, nil],
# :branches=>
# {[:if, 0, 2, 2, 6, 5]=>
# {[:then, 1, 3, 4, 3, 8]=>1, [:else, 2, 5, 4, 5, 9]=>0}},
# :methods=>{[Object, :bool, 1, 0, 7, 3]=>1}}}
Coverage.start(metho... -
WEBrick
:: CGI # start(env = ENV , stdin = $ stdin , stdout = $ stdout) -> () (18213.0) -
自身に定義されたサービスを実行します。
...します。
start メソッドは service メソッドを呼び出し、service メソッドはリクエストに応じて
do_XXX メソッドを呼び出します。このようにして CGI スクリプトは実行されます。
@param env CGI スクリプトが受け取った Meta-Variables (... -
Psych
:: Stream # start(encoding = Psych :: Nodes :: Stream :: UTF8) -> Psych :: Stream (18208.0) -
Ruby オブジェクトを YAML document に変換するための準備をします。
...すことで出力が完了します(finish を呼び出さないと
最後まで出力されない場合があります)。
ブロック付きで start を呼び出すと、変換準備を終えた Stream オブジェクト
(self) がブロックに渡され、ブロックが呼び出された後...