lib/rubinius/compiler/compiled_file.rb
##
# Encode the contets of this CompiledFile object to +stream+ with
# a body of +body+. Body use marshalled using CompiledFile::Marshal
Encode the contets of this CompiledFile object to +stream+ with
a body of +body+. Body use marshalled using CompiledFile::Marshal
Encode the contets of this CompiledFile object to + stream + with a body of + body + . Body use marshalled using CompiledFile :: Marshal
def encode_to(stream, body)
      stream.puts @magic
      stream.puts @signature.to_s
      stream.puts @version.to_s
      mar = CompiledFile::Marshal.new
      stream << mar.marshal(body)
    end
def encode_to ( stream , body ) stream . puts @magic stream . puts @signature . to_s stream . puts @version . to_s mar = CompiledFile :: Marshal . new stream << mar . marshal ( body ) end
Encode the contets of this CompiledFile object to +stream+ with
a body of +body+.
Encode the contets of this CompiledFile object to + stream + with a body of + body + .
stream
<not_specific>
body
<not_specific>