Method: Origami::Stream#to_s

Defined in:
lib/origami/stream.rb

#to_s(indent: 1, tab: "\t") ⇒ Object

:nodoc:



385
386
387
388
389
390
391
392
393
394
# File 'lib/origami/stream.rb', line 385

def to_s(indent: 1, tab: "\t") #:nodoc:
    content = ""

    content << @dictionary.to_s(indent: indent, tab: tab)
    content << "stream" + EOL
    content << self.encoded_data
    content << EOL << TOKENS.last

    super(content)
end