Class: Tracksperanto::IOWrapper

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/tracksperanto/io_wrapper.rb

Overview

A wrapper for IO which works on the backing buffer and proxies all IO methods

Direct Known Subclasses

BufferIO, ExtIO

Constant Summary collapse

IO_METHODS =
(IO.instance_methods - Object.instance_methods - Enumerable.instance_methods).map{|e| e.to_sym }

Instance Attribute Summary collapse

Instance Attribute Details

#backing_bufferObject (readonly)

Returns the value of attribute backing_buffer.



5
6
7
# File 'lib/tracksperanto/io_wrapper.rb', line 5

def backing_buffer
  @backing_buffer
end