@JRubyMethod(required = 1, visibility = Visibility.PRIVATE)
public static IRubyObject initialize(IRubyObject recv, IRubyObject io) {
if (io instanceof RubyIO) {
RubyIO rubyIO = (RubyIO)io;
OpenFile of = rubyIO.getOpenFile();
if (of.selectChannel() != null) {
SelectableChannel selChannel = of.selectChannel();
((RubyObject)recv).extend(
new IRubyObject[]{((RubyModule)recv.getRuntime().getModule("Net").getConstant("BufferedIO")).getConstant("NativeImplementation")});
SelectableChannel sc = (SelectableChannel)(selChannel);