vendor/jruby/1.9/gems/unparser-0.2.2/lib/unparser/buffer.rb
def capture_content
      size_before = @content.size
      yield
      @content[size_before..-1]
    end
# Capture the content written to the buffer within the block
#
# @return [String]
#
# @api private
#
Capture the content written to the buffer within the block
Capture the content written to the buffer within the block
def capture_content
      size_before = @content.size
      yield
      @content[size_before..-1]
    end
def capture_content size_before = @content . size yield @content [ size_before .. - 1 ] end
Capture the content written to the buffer within the block
Capture the content written to the buffer within the block
None
String
api
None