class Ascii85::DummyWrapper

Wraps the input in ‘<~’ and ‘~>’ delimiters and passes it through unmodified to the underlying IO object otherwise. You do not need to use this directly.

@private

Public Class Methods

new(out) click to toggle source
# File lib/ascii85.rb, line 375
def initialize(out)
  @out = out
  @out.write(START_MARKER)
end

Public Instance Methods

finish() click to toggle source
# File lib/ascii85.rb, line 384
def finish
  @out.write(ENDING_MARKER)
  @out.flush

  @out
end
write(buffer) click to toggle source
# File lib/ascii85.rb, line 380
def write(buffer)
  @out.write(buffer)
end