るりまサーチ

最速Rubyリファレンスマニュアル検索!
44件ヒット [1-44件を表示] (0.130秒)

別のキーワード

  1. frame bottom
  2. irb/frame bottom
  3. bottom integer
  4. bottom irb/frame
  5. bottom irb::frame

ライブラリ

クラス

モジュール

キーワード

検索結果

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

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

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

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

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

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

...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_me...
...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 で指定する必要があり...

CGI::HtmlExtension#caption(align = nil) -> String (13.0)

caption 要素を生成します。

...素を生成します。

ブロックを与えると、ブロックを評価した結果が内容になります。

@
param align 配置を文字列で指定します。(top, bottom, left right が指定可能です)
属性をハッシュで指定することもできます。...

CGI::HtmlExtension#caption(align = nil) { ... } -> String (13.0)

caption 要素を生成します。

...素を生成します。

ブロックを与えると、ブロックを評価した結果が内容になります。

@
param align 配置を文字列で指定します。(top, bottom, left right が指定可能です)
属性をハッシュで指定することもできます。...