lib/nbtfile/emitter.rb
# Emit a TAG_Compound token, call the block, and then emit a matching
# TAG_End token.
Emit a TAG_Compound token, call the block, and then emit a matching
TAG_End token.
Emit a TAG_Compound token call the block and then emit a matching TAG_End token .
def emit_compound(name) 
    emit_token(TAG_Compound[name, nil])
    begin
      yield
    ensure
      emit_token(TAG_End[nil, nil])
    end
  end
def emit_compound ( name ) emit_token ( TAG_Compound [ name , nil ] ) begin yield ensure emit_token ( TAG_End [ nil , nil ] ) end end
Emit a TAG_Compound token, call the block, and then emit a matching
TAG_End token.
Emit a TAG_Compound token call the block and then emit a matching TAG_End token .
#:yields:
name
<not_specific>