57件ヒット
[1-57件を表示]
(0.088秒)
ライブラリ
- ビルトイン (8)
-
minitest
/ unit (1) -
net
/ imap (24) - optparse (24)
クラス
- Exception (8)
-
Net
:: IMAP :: BodyTypeMessage (24) -
OptionParser
:: ParseError (24)
モジュール
キーワード
-
content
_ id (12) - description (12)
-
exception
_ details (1) -
to
_ s (12)
検索結果
先頭5件
-
OptionParser
:: ParseError # message -> String (21312.0) -
標準エラーに出力するメッセージを返します。
...標準エラーに出力するメッセージを返します。
@return 文字列を返します。... -
MiniTest
:: Assertions # exception _ details(exception , message) -> String (9522.0) -
与えられた例外の詳細を文字列として返します。
...与えられた例外の詳細を文字列として返します。
@param exception 例外を指定します。
@param message メッセージを指定します。... -
Exception
# full _ message(highlight: true , order: :bottom) -> String (9340.0) -
例外の整形された文字列を返します。
...と order は 2.5.1 で追加されました。
@param highlight エスケープシーケンスによる文字装飾をつけるかどうかを指定します。
デフォルト値は Exception.to_tty? の返り値と同じです。
@param order :top か :bottom で指定する必......tion.to_tty? が真なら :bottom で偽なら :top です。
//emlist[例][ruby]{
begin
raise "test"
rescue => 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[1mTraceback \e[m(most recent call last):\ntest.rb:2:in `<main>': \e[1mtest (\e[4;1mRuntimeError\e[m\e[1m)\n\e[m"
end
//}
@see Exception.to_tty?......による文字装飾がついています。
@param highlight エスケープシーケンスによる文字装飾をつけるかどうかを指定します。
デフォルト値は Exception.to_tty? の返り値と同じです。
@param order :top か :bottom で指定する必... -
Net
:: IMAP :: BodyTypeMessage # content _ id -> String | nil (9309.0) -
Content-ID の値を文字列で返します。
...Content-ID の値を文字列で返します。
@see 2045... -
Net
:: IMAP :: BodyTypeMessage # description -> String | nil (9309.0) -
Content-Description の値を文字列で返します。
...Content-Description の値を文字列で返します。
@see 2045... -
OptionParser
:: ParseError # to _ s -> String (6212.0) -
標準エラーに出力するメッセージを返します。
...標準エラーに出力するメッセージを返します。
@return 文字列を返します。...