1140件ヒット
[1-100件を表示]
(0.076秒)
別のキーワード
ライブラリ
- ビルトイン (189)
- e2mmap (36)
- getoptlong (24)
- logger (98)
-
minitest
/ unit (21) - mkmf (12)
-
net
/ http (36) -
net
/ imap (322) -
net
/ smtp (120) - optparse (48)
-
rubygems
/ commands / lock _ command (12) -
rubygems
/ specification (24) -
rubygems
/ user _ interaction (36) -
shell
/ system-command (12) -
syslog
/ logger (108) - thread (6)
- win32ole (24)
クラス
- Exception (80)
- Fiber (18)
-
Gem
:: Commands :: LockCommand (12) -
Gem
:: Specification (24) -
Gem
:: StreamUI :: SilentProgressReporter (12) -
Gem
:: StreamUI :: SimpleProgressReporter (12) -
Gem
:: StreamUI :: VerboseProgressReporter (12) - GetoptLong (24)
- KeyError (16)
- Logger (84)
-
Logger
:: Application (2) -
Logger
:: LogDevice (12) -
Net
:: HTTPResponse (36) -
Net
:: IMAP (106) -
Net
:: IMAP :: BodyTypeMessage (192) -
Net
:: IMAP :: BodyTypeMultipart (12) -
Net
:: IMAP :: Envelope (12) -
Net
:: SMTP (120) - OptionParser (24)
-
OptionParser
:: ParseError (24) -
RDoc
:: Options (12) -
Shell
:: SystemCommand (12) - SignalException (12)
-
Syslog
:: Logger (96) -
Syslog
:: Logger :: Formatter (12) - SystemCallError (12)
- Thread (12)
-
Thread
:: SizedQueue (36) -
WIN32OLE
_ EVENT (12) -
WIN32OLE
_ TYPE (12)
モジュール
- Exception2MessageMapper (36)
- Kernel (12)
-
MiniTest
:: Assertions (21) - Warning (9)
キーワード
- << (12)
- == (12)
- Fail (6)
- Raise (6)
- add (36)
- append (12)
- 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 (12)
- call (12)
- complain (12)
-
content
_ id (12) - copy (12)
- data (24)
- debug (12)
-
def
_ exception (6) -
default
_ event _ sources (12) - deq (12)
- description (12)
- disposition (12)
- encoding (12)
- envelope (12)
- errno (12)
- error (12)
- exception (24)
-
exception
_ details (1) - expunge (12)
- extension (12)
- fail (6)
- fatal (12)
- flunk (1)
- formatter (12)
- formatter= (24)
- greeting (12)
- handler= (12)
- info (12)
- inspect (12)
- key (8)
- language (12)
- lines (12)
- log (26)
- mailfrom (12)
- md5 (12)
-
media
_ subtype (12) -
media
_ type (12) - move (10)
- msg (12)
- multipart? (12)
- notify (12)
-
on
_ tail (12) - param (12)
- parts (12)
- pass (1)
- pop (12)
- raise (30)
- rcptto (12)
-
rcptto
_ list (12) - ready (12)
- receiver (8)
- search (12)
-
send
_ mail (12) - sendmail (12)
- separator (12)
-
set
_ error (12) - shift (12)
- signm (12)
- size (12)
- skip (1)
- sort (12)
- subtype (12)
-
to
_ s (24) -
uid
_ sort (12) -
uid
_ thread (12) - unknown (12)
- updated (36)
- value (12)
- warn (33)
- write (12)
検索結果
先頭5件
-
MiniTest
:: Assertions # message(message) { . . . } -> Proc (18209.0) -
与えられたブロックを評価した結果と与えられたメッセージを連結して返します。
...与えられたブロックを評価した結果と与えられたメッセージを連結して返します。
@param message メッセージを指定します。... -
Exception
# message -> String (18108.0) -
エラーメッセージをあらわす文字列を返します。
...エラーメッセージをあらわす文字列を返します。
//emlist[例][ruby]{
begin
1 + nil
rescue => e
p e.message #=> "nil can't be coerced into Fixnum"
end
//}... -
Net
:: HTTPResponse # message -> String (18108.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 (18102.0) -
Kernel.#printf と同じように標準出力にメッセージを出力します。 メッセージ出力後すぐに IO#flush します。
Kernel.#printf と同じように標準出力にメッセージを出力します。
メッセージ出力後すぐに IO#flush します。
$VERBOSE が真のときは何もしません。
@param format フォーマット文字列です。
@param arg フォーマットされる引数です。
@see Kernel.#printf -
OptionParser
:: ParseError # message -> String (18102.0) -
標準エラーに出力するメッセージを返します。
標準エラーに出力するメッセージを返します。
@return 文字列を返します。 -
Exception2MessageMapper
# def _ e2message(exception _ class , message _ format) -> Class (9225.0) -
すでに存在する例外クラス exception_class に、 エラーメッセージ用フォーマット message_format を関連づけます。
...用フォーマット message_format を関連づけます。
このフォーマットは Exception2MessageMapper#Raise,
Exception2MessageMapper#Fail で使用します。
@param exception_class メッセージを登録する例外クラスを指定します。
@param message_format メッセー... -
Gem
:: Specification # post _ install _ message=(message) (6209.0) -
インストール完了後に表示するメッセージをセットします。
...インストール完了後に表示するメッセージをセットします。
@param message メッセージを指定します。... -
Exception
# full _ message(highlight: true , order: :bottom) -> String (6120.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 (6118.0) -
message_id を文字列で返します。
...message_id を文字列で返します。
エンベロープに存在しないときは nil を返します。... -
Net
:: SMTP # open _ message _ stream(from _ addr , *to _ addrs) {|f| . . . . } -> () (6114.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 (6102.0) -
インストール完了後に表示するメッセージを返します。
インストール完了後に表示するメッセージを返します。