1036件ヒット
[1-100件を表示]
(0.133秒)
ライブラリ
- ビルトイン (181)
- e2mmap (36)
- getoptlong (12)
- logger (86)
-
minitest
/ unit (21) - mkmf (12)
-
net
/ http (36) -
net
/ imap (322) -
net
/ smtp (60) - optparse (48)
-
rubygems
/ commands / lock _ command (12) -
rubygems
/ specification (24) -
rubygems
/ user _ interaction (36) -
shell
/ system-command (12) -
syslog
/ logger (96) - 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 (12)
- KeyError (8)
- Logger (72)
-
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 (60) - OptionParser (24)
-
OptionParser
:: ParseError (24) -
RDoc
:: Options (12) -
Shell
:: SystemCommand (12) - SignalException (12)
-
Syslog
:: Logger (84) -
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)
- 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)
- greeting (12)
- handler= (12)
- info (12)
- inspect (12)
- 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
_ list (12) - receiver (8)
- search (12)
-
send
_ mail (12) - sendmail (12)
- separator (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 (21209.0) -
与えられたブロックを評価した結果と与えられたメッセージを連結して返します。
...与えられたブロックを評価した結果と与えられたメッセージを連結して返します。
@param message メッセージを指定します。... -
Exception
# message -> String (21208.0) -
エラーメッセージをあらわす文字列を返します。
...エラーメッセージをあらわす文字列を返します。
//emlist[例][ruby]{
begin
1 + nil
rescue => e
p e.message #=> "nil can't be coerced into Fixnum"
end
//}... -
OptionParser
:: ParseError # message -> String (21202.0) -
標準エラーに出力するメッセージを返します。
標準エラーに出力するメッセージを返します。
@return 文字列を返します。 -
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... -
Exception2MessageMapper
# def _ e2message(exception _ class , message _ format) -> Class (12325.0) -
すでに存在する例外クラス exception_class に、 エラーメッセージ用フォーマット message_format を関連づけます。
...存在する例外クラス exception_class に、
エラーメッセージ用フォーマット message_format を関連づけます。
このフォーマットは Exception2MessageMapper#Raise,
Exception2MessageMapper#Fail で使用します。
@param exception_class メッセージを登録す......る例外クラスを指定します。
@param message_format メッセージのフォーマットを指定します。
Kernel.#sprintf のフォーマット文字列と同じ形式を使用できます。
@return exception_class を返します。... -
Gem
:: Specification # post _ install _ message=(message) (12309.0) -
インストール完了後に表示するメッセージをセットします。
...インストール完了後に表示するメッセージをセットします。
@param message メッセージを指定します。... -
Exception2MessageMapper
# def _ exception(exception _ name , message _ format , superclass = StandardError) -> Class (12308.0) -
exception_name という名前の例外クラスを定義します。
...exception_name という名前の例外クラスを定義します。
@param exception_name 定義する例外クラスの名前をシンボルで指定します。
@param message_format メッセージのフォーマット。
@param superclass 定義する例外のスーパークラスを指定... -
Gem
:: Specification # post _ install _ message -> String (12302.0) -
インストール完了後に表示するメッセージを返します。
インストール完了後に表示するメッセージを返します。 -
Net
:: IMAP :: Envelope # message _ id -> String | nil (12218.0) -
message_id を文字列で返します。
...message_id を文字列で返します。
エンベロープに存在しないときは nil を返します。... -
Exception
# exception(error _ message) -> Exception (9340.0) -
引数を指定しない場合は self を返します。引数を指定した場合 自身のコピー を生成し Exception#message 属性を error_message にして返します。
...Exception#message 属性を error_message にして返します。
Kernel.#raise は、実質的に、例外オブジェクトの exception
メソッドの呼び出しです。
@param error_message エラーメッセージを表す文字列を指定します。
//emlist[例][ruby]{
begin
# .........# 何か処理
rescue => e
raise e.exception("an error occurs during hogehoge process") # 詳しいエラーメッセージ
end
//}...