るりまサーチ (Ruby 2.5.0)

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

別のキーワード

  1. _builtin binding
  2. binding eval
  3. proc binding
  4. kernel binding
  5. tracepoint binding

ライブラリ

クラス

キーワード

検索結果

IRB::Frame#top(n = 0) -> Binding (54607.0)

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

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

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

IRB::Frame.top(n = 0) -> Binding (54607.0)

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

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

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

Object::TOPLEVEL_BINDING -> Binding (36973.0)

トップレベルでの Binding オブジェクト。

トップレベルでの Binding オブジェクト。

詳細は Binding を参照してください。

ERB#result(b=TOPLEVEL_BINDING) -> String (670.0)

ERB を b の binding で実行し、結果の文字列を返します。

ERB を b の binding で実行し、結果の文字列を返します。

@param b eRubyスクリプトが実行されるときのbinding

//emlist[例][ruby]{
require 'erb'
erb = ERB.new("test <%= test1 %>\ntest <%= test2 %>\n")
test1 = "foo"
test2 = "bar"
puts erb.result
# test foo
# test bar
//}

@see ERB#result_with_hash

ERB#run(b=TOPLEVEL_BINDING) -> nil (670.0)

ERB を b の binding で実行し、結果を標準出力へ印字します。

ERB を b の binding で実行し、結果を標準出力へ印字します。

@param b eRubyスクリプトが実行されるときのbinding

//emlist[例][ruby]{
require 'erb'
erb = ERB.new("test <%= test1 %>\ntest <%= test2 %>\n")
test1 = "foo"
test2 = "bar"
erb.run
# test foo
# test bar
//}

絞り込み条件を変える

ruby 1.8.4 feature (55.0)

ruby 1.8.4 feature ruby 1.8.4 での ruby 1.8.3 からの変更点です。

ruby 1.8.4 feature
ruby 1.8.4 での ruby 1.8.3 からの変更点です。

掲載方針

*バグ修正の影響も含めて動作が変わるものを収録する。
*単にバグを直しただけのものは収録しない。
*ライブラリへの単なる定数の追加は収録しない。

以下は各変更点に付けるべきタグです。

記号について(特に重要なものは大文字(主観))

# * カテゴリ
# * [ruby]: ruby インタプリタの変更
# * [api]: 拡張ライブラリ API
# * [lib]: ライブラリ
* レベル
* [bug]: バグ修正
* [new]: 追加され...