3件ヒット
[1-3件を表示]
(0.100秒)
ライブラリ
- erb (2)
-
rubygems
/ dependency _ list (1)
クラス
- ERB (2)
-
Gem
:: DependencyList (1)
キーワード
-
result
_ with _ hash (1) -
spec
_ predecessors (1)
検索結果
先頭3件
-
ERB
# result(b=TOPLEVEL _ BINDING) -> String (54361.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
# result _ with _ hash(hash) -> String (36949.0) -
ERB をハッシュオブジェクトで指定されたローカル変数を持つ 新しいトップレベルバインディングで実行し、結果の文字列を返します。
ERB をハッシュオブジェクトで指定されたローカル変数を持つ
新しいトップレベルバインディングで実行し、結果の文字列を返します。
@param hash ローカル変数名をキーにしたハッシュ
@see ERB#result -
Gem
:: DependencyList # spec _ predecessors -> Hash (343.0) -
@todo ???
@todo ???
Return a hash of predecessors. <tt>result[spec]</tt> is an
Array of gemspecs that have a dependency satisfied by the named
spec.