るりまサーチ

最速Rubyリファレンスマニュアル検索!
44件ヒット [1-44件を表示] (0.046秒)
トップページ > クエリ:to[x] > クエリ:bottom[x]

別のキーワード

  1. _builtin to_s
  2. openssl to_der
  3. openssl to_s
  4. _builtin to_a
  5. openssl to_pem

ライブラリ

クラス

キーワード

検索結果

IRB::Frame#bottom(n = 0) -> Binding (24201.0)

下から n 番目のコンテキストを取り出します。

下から n 番目のコンテキストを取り出します。

@param n 取り出すコンテキストを Integer で指定します。n は 0 が最
下位になります。

IRB::Frame.bottom(n = 0) -> Binding (24201.0)

下から n 番目のコンテキストを取り出します。

下から n 番目のコンテキストを取り出します。

@param n 取り出すコンテキストを Integer で指定します。n は 0 が最
下位になります。

Exception#full_message(highlight: true, order: :bottom) -> String (237.0)

例外の整形された文字列を返します。

...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 `<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?...

rdoc/markdown (78.0)

Markdown 形式で記述されたドキュメントを rdoc 上で解析するための サブライブラリです。

...ef-list

例:

cat
: A small furry mammal that seems to sleep a lot

ant
: A little insect that is known to enjoy picnics

出力例:

: cat
A small furry mammal that seems to sleep a lot

: ant
A little insect that is known to enjoy picnics

==== Github

RDoc::Markdown#github を設...
...す。

例:

Here is some text[^1] including an inline footnote ^[for short footnotes]

...

[^1]: With the footnote text down at the bottom


=== 制限事項

* リンクタイトルは使用されない
* 脚注は単一の段落にまとめられる

=== 著者

この Markdown...
..., to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to...