class Phlex::View
def yield_content(&block)
def yield_content(&block) return unless block_given? original_length = @_target.length output = yield(self) unchanged = (original_length == @_target.length) if unchanged case output when String, Symbol, Integer, Float text(output) end end nil end