西小倉事典
mindia › 西小倉事典 › 単語

yield

西小倉パンデイロ · 2013-10-15 更新 · 履歴(6)

「受け渡す」
「イールド」と読む

the society of mind 3.2

Where does it stop, this process of yielding control to other agencies?

コントロールを他のエージェンシーたちに譲り渡すというプロセスが、エージェンシーからエージェンシーへと伝播していくとしたら、いったいどこで止まるのだろうか。

Ruby

class Hoge
  def fuga
    yield
  end
end
Hoge.fuga{puts 'aaa'}#aaa

Rails

app/views/layouts/hoge.rhtml
の中の
<%= yield %>
に
app/views/hoge/fuga.rhtml
の内容が入る。

タグ

他の人の「yield」