class Phlex::SGML
def capture(&block)
-
(String)
-
Other tags:
- Note: - This only works if the block's receiver is the current component or the block returns a String.
def capture(&block) return "" unless block @_context.with_target(+"") { yield_content(&block) } end