module Tanker::IoMixin

Public Instance Methods

close(*) click to toggle source
Calls superclass method
# File lib/tanker/core/stream.rb, line 111
def close(*)
  if @tanker_out_wrapper
    @tanker_out_wrapper.close
    @tanker_out_wrapper = nil
  end

  super
end
read(*) click to toggle source
Calls superclass method
# File lib/tanker/core/stream.rb, line 62
def read(*)
  out = super
  raise @tanker_out_wrapper.error if @tanker_out_wrapper.error

  out
end
read_nonblock(*) click to toggle source
Calls superclass method
# File lib/tanker/core/stream.rb, line 69
def read_nonblock(*)
  out = super
  raise @tanker_out_wrapper.error if @tanker_out_wrapper.error

  out
end
readbyte(*) click to toggle source
Calls superclass method
# File lib/tanker/core/stream.rb, line 76
def readbyte(*)
  out = super
  raise @tanker_out_wrapper.error if @tanker_out_wrapper.error

  out
end
readchar(*) click to toggle source
Calls superclass method
# File lib/tanker/core/stream.rb, line 83
def readchar(*)
  out = super
  raise @tanker_out_wrapper.error if @tanker_out_wrapper.error

  out
end
readline(*) click to toggle source
Calls superclass method
# File lib/tanker/core/stream.rb, line 90
def readline(*)
  out = super
  raise @tanker_out_wrapper.error if @tanker_out_wrapper.error

  out
end
readlines(*) click to toggle source
Calls superclass method
# File lib/tanker/core/stream.rb, line 97
def readlines(*)
  out = super
  raise @tanker_out_wrapper.error if @tanker_out_wrapper.error

  out
end
readpartial(*) click to toggle source
Calls superclass method
# File lib/tanker/core/stream.rb, line 104
def readpartial(*)
  out = super
  raise @tanker_out_wrapper.error if @tanker_out_wrapper.error

  out
end