Module: IOPositioningReadWrite::IOClass

Included in:
IO
Defined in:
lib/ioposrw.rb

Instance Method Summary collapse

Instance Method Details

#ioposrw_enable_stringio_extendObject

call-seq:

IO.ioposrw_enable_stringio_extend -> nil

This is a feature that is FUTURE OBSOLUTE.

Please use require "ioposrw/stringio" insted.



22
23
24
25
26
27
28
# File 'lib/ioposrw.rb', line 22

def ioposrw_enable_stringio_extend
  warn <<-EOM
(warning) #{caller(1, 1)[0]}: IO.ioposrw_enable_stringio_extend is FUTURE OBSOLUTE. please use ``require \"ioposrw/stringio\"'' insted.
  EOM
  require_relative "ioposrw/stringio"
  nil
end