1013件ヒット
[1-100件を表示]
(0.057秒)
ライブラリ
- ビルトイン (170)
- e2mmap (36)
- getoptlong (22)
- logger (79)
-
minitest
/ unit (19) - mkmf (11)
-
net
/ http (33) -
net
/ imap (295) -
net
/ smtp (110) - optparse (44)
-
rubygems
/ commands / lock _ command (11) -
rubygems
/ specification (11) -
rubygems
/ user _ interaction (33) -
shell
/ system-command (12) -
syslog
/ logger (88) - thread (6)
- win32ole (22)
クラス
- Exception (73)
- Fiber (15)
-
Gem
:: Commands :: LockCommand (11) -
Gem
:: Specification (11) -
Gem
:: StreamUI :: SilentProgressReporter (11) -
Gem
:: StreamUI :: SimpleProgressReporter (11) -
Gem
:: StreamUI :: VerboseProgressReporter (11) - GetoptLong (22)
- KeyError (14)
- Logger (66)
-
Logger
:: Application (2) -
Logger
:: LogDevice (11) -
Net
:: HTTPResponse (33) -
Net
:: IMAP (97) -
Net
:: IMAP :: BodyTypeMessage (176) -
Net
:: IMAP :: BodyTypeMultipart (11) -
Net
:: IMAP :: Envelope (11) -
Net
:: SMTP (110) - OptionParser (22)
-
OptionParser
:: ParseError (22) -
RDoc
:: Options (11) -
Shell
:: SystemCommand (12) - SignalException (11)
-
Syslog
:: Logger (77) -
Syslog
:: Logger :: Formatter (11) - SystemCallError (11)
- Thread (11)
-
Thread
:: SizedQueue (33) -
WIN32OLE
_ EVENT (11) -
WIN32OLE
_ TYPE (11)
モジュール
- Exception2MessageMapper (36)
- Kernel (11)
-
MiniTest
:: Assertions (19) - Warning (8)
キーワード
- << (11)
- == (11)
- Fail (6)
- Raise (6)
- add (33)
- append (11)
- assert (1)
-
assert
_ block (1) -
assert
_ empty (1) -
assert
_ equal (1) -
assert
_ in _ delta (1) -
assert
_ in _ epsilon (1) -
assert
_ includes (1) -
assert
_ instance _ of (1) -
assert
_ kind _ of (1) -
assert
_ match (1) -
assert
_ nil (1) -
assert
_ operator (1) -
assert
_ respond _ to (1) -
assert
_ same (1) -
assert
_ send (1) -
assert
_ throws (1) - bind (6)
- body (11)
- call (11)
- complain (11)
-
content
_ id (11) - copy (11)
- data (22)
- debug (11)
-
def
_ exception (6) -
default
_ event _ sources (11) - deq (11)
- description (11)
- disposition (11)
- encoding (11)
- envelope (11)
- errno (11)
- error (11)
- exception (22)
-
exception
_ details (1) - expunge (11)
- extension (11)
- fail (6)
- fatal (11)
- formatter (11)
- greeting (11)
- handler= (11)
- info (11)
- inspect (11)
- key (7)
- language (11)
- lines (11)
- log (24)
- mailfrom (11)
- md5 (11)
-
media
_ subtype (11) -
media
_ type (11) - move (9)
- msg (11)
- multipart? (11)
- notify (12)
-
on
_ tail (11) - param (11)
- parts (11)
- pass (1)
- pop (11)
- raise (26)
- rcptto (11)
-
rcptto
_ list (11) - ready (11)
- receiver (7)
- search (11)
-
send
_ mail (11) - sendmail (11)
- separator (11)
-
set
_ error (11) - shift (11)
- signm (11)
- size (11)
- sort (11)
- subtype (11)
-
to
_ s (22) -
uid
_ sort (11) -
uid
_ thread (11) - unknown (11)
- updated (33)
- value (11)
- warn (30)
- write (11)
検索結果
先頭5件
-
MiniTest
:: Assertions # message(message) { . . . } -> Proc (18309.0) -
与えられたブロックを評価した結果と与えられたメッセージを連結して返します。
...与えられたブロックを評価した結果と与えられたメッセージを連結して返します。
@param message メッセージを指定します。... -
Exception
# message -> String (18208.0) -
エラーメッセージをあらわす文字列を返します。
...エラーメッセージをあらわす文字列を返します。
//emlist[例][ruby]{
begin
1 + nil
rescue => e
p e.message #=> "nil can't be coerced into Fixnum"
end
//}... -
Net
:: HTTPResponse # message -> String (18208.0) -
HTTP サーバがリザルトコードに付加して返すメッセージです。 例えば 'Not Found' などです。
...して返すメッセージです。
例えば 'Not Found' などです。
msg は obsolete です。使わないでください。
//emlist[例][ruby]{
require 'net/http'
uri = "http://www.example.com/index.html"
response = Net::HTTP.get_response(URI.parse(uri))
response.message # => "OK"
//}... -
Kernel
# message(format , *arg) -> nil (18202.0) -
Kernel.#printf と同じように標準出力にメッセージを出力します。 メッセージ出力後すぐに IO#flush します。
Kernel.#printf と同じように標準出力にメッセージを出力します。
メッセージ出力後すぐに IO#flush します。
$VERBOSE が真のときは何もしません。
@param format フォーマット文字列です。
@param arg フォーマットされる引数です。
@see Kernel.#printf -
OptionParser
:: ParseError # message -> String (18202.0) -
標準エラーに出力するメッセージを返します。
標準エラーに出力するメッセージを返します。
@return 文字列を返します。 -
Exception2MessageMapper
# def _ e2message(exception _ class , message _ format) -> Class (9325.0) -
すでに存在する例外クラス exception_class に、 エラーメッセージ用フォーマット message_format を関連づけます。
...用フォーマット message_format を関連づけます。
このフォーマットは Exception2MessageMapper#Raise,
Exception2MessageMapper#Fail で使用します。
@param exception_class メッセージを登録する例外クラスを指定します。
@param message_format メッセー... -
Exception
# full _ message(highlight: true , order: :bottom) -> String (6220.0) -
例外の整形された文字列を返します。
...ue => e
p e.full_message # => "\e[1mTraceback \e[m(most recent call last):\ntest.rb:2:in `<main>': \e[1mtest (\e[4;1mRuntimeError\e[m\e[1m)\n\e[m"
$stderr = $stdout
p e.full_message # => "test.rb:2:in `<main>': test (RuntimeError)\n"
$stderr = STDERR
p e.full_message # => "\e[1mTrace... -
Net
:: IMAP :: Envelope # message _ id -> String | nil (6218.0) -
message_id を文字列で返します。
...message_id を文字列で返します。
エンベロープに存在しないときは nil を返します。... -
Net
:: SMTP # open _ message _ stream(from _ addr , *to _ addrs) {|f| . . . . } -> () (6214.0) -
メール書き込みの準備をし、書き込み先のストリームオブジェクトを ブロックに渡します。ブロック終了後、書きこんだ結果が 送られます。
...信先メールアドレスを文字列で渡します。
require 'net/smtp'
Net::SMTP.start('smtp.example.com', 25) {|smtp|
smtp.open_message_stream('from@example.com', 'to@example.net') {|f|
f.puts 'From: from@example.com'
f.puts 'To: to@example.net'
f.puts 'Subject: te......TPエラーコード5xxの場合に発生します
@raise Net::SMTPAuthenticationError 送信に必要な認証を行っていなかった場合に発生します
@raise Net::SMTPUnknownError SMTPエラーコードがプロトコル上不正な場合に発生します
@see Net::SMTP#send_message... -
Gem
:: Specification # post _ install _ message -> String (6202.0) -
インストール完了後に表示するメッセージを返します。
インストール完了後に表示するメッセージを返します。 -
GetoptLong
# error _ message -> String | nil (6202.0) -
現在のエラーのエラーメッセージを返します。エラーが発生していな ければ、nil を返します。
現在のエラーのエラーメッセージを返します。エラーが発生していな
ければ、nil を返します。