165件ヒット
[1-100件を表示]
(0.143秒)
ライブラリ
- ビルトイン (8)
-
minitest
/ unit (1) -
net
/ imap (84) -
net
/ smtp (36) - optparse (24)
-
shell
/ system-command (12)
クラス
- Exception (8)
-
Net
:: IMAP :: BodyTypeMessage (84) -
Net
:: SMTP (36) -
OptionParser
:: ParseError (24) -
Shell
:: SystemCommand (12)
モジュール
キーワード
-
content
_ id (12) - description (12)
- encoding (12)
-
exception
_ details (1) -
media
_ subtype (12) -
media
_ type (12) - notify (12)
- param (12)
-
send
_ mail (12) - sendmail (12)
- subtype (12)
-
to
_ s (12)
検索結果
先頭5件
-
OptionParser
:: ParseError # message -> String (21310.0) -
標準エラーに出力するメッセージを返します。
...標準エラーに出力するメッセージを返します。
@return 文字列を返します。... -
Exception
# full _ message(highlight: true , order: :bottom) -> String (9339.0) -
例外の整形された文字列を返します。
...例外を標準エラー出力に出力するときと
同じ形式です。
そのため、メソッド呼び出し時に $stderr が変更されておらず、$stderr.tty? が真の場合は
エスケープシーケンスによる文字装飾がついています。
[注意] このメソッドは......highlight と order は 2.5.1 で追加されました。
@param highlight エスケープシーケンスによる文字装飾をつけるかどうかを指定します。
デフォルト値は Exception.to_tty? の返り値と同じです。
@param order :top か :bottom で指......ジの上(top)か下(bottom)かを指定します。
デフォルト値は Exception.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 `<mai......じ形式です。
そのため、メソッド呼び出し時に $stderr が変更されておらず、$stderr.tty? が真の場合は
エスケープシーケンスによる文字装飾がついています。
@param highlight エスケープシーケンスによる文字装飾をつけるかど......Exception.to_tty? の返り値と同じです。
@param order :top か :bottom で指定する必要があります。
バックトレースの一番奥がエラーメッセージの上(top)か下(bottom)かを指定します。
デフォルト値は Exception.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 `<... -
Net
:: IMAP :: BodyTypeMessage # media _ type -> String (9214.0) -
MIME のメディアタイプを返します。
...MIME のメディアタイプを返します。
これは "MESSAGE" を返します。
@see Net::IMAP::BodyTypeMessage#subtype... -
OptionParser
:: ParseError # to _ s -> String (9210.0) -
標準エラーに出力するメッセージを返します。
...標準エラーに出力するメッセージを返します。
@return 文字列を返します。... -
Net
:: IMAP :: BodyTypeMessage # media _ subtype -> String (9209.0) -
MIME のメディアタイプのサブタイプを返します。 media_subtype は obsolete です。
...MIME のメディアタイプのサブタイプを返します。
media_subtype は obsolete です。
@see Net::IMAP::BodyTypeMessage#media_type... -
Net
:: IMAP :: BodyTypeMessage # subtype -> String (9209.0) -
MIME のメディアタイプのサブタイプを返します。 media_subtype は obsolete です。
...MIME のメディアタイプのサブタイプを返します。
media_subtype は obsolete です。
@see Net::IMAP::BodyTypeMessage#media_type... -
Net
:: IMAP :: BodyTypeMessage # content _ id -> String | nil (9208.0) -
Content-ID の値を文字列で返します。
...Content-ID の値を文字列で返します。
@see 2045... -
Net
:: IMAP :: BodyTypeMessage # description -> String | nil (9208.0) -
Content-Description の値を文字列で返します。
...Content-Description の値を文字列で返します。
@see 2045... -
MiniTest
:: Assertions # exception _ details(exception , message) -> String (6421.0) -
与えられた例外の詳細を文字列として返します。
...与えられた例外の詳細を文字列として返します。
@param exception 例外を指定します。
@param message メッセージを指定します。... -
Net
:: IMAP :: BodyTypeMessage # param -> { String => String } | nil (6409.0) -
MIME のボディパラメータをハッシュテーブルで返します。
...MIME のボディパラメータをハッシュテーブルで返します。
ハッシュテーブルのキーがパラメータ名となります。
@see 2045...