class Async::IO
def wraps(klass, *additional_methods)
def wraps(klass, *additional_methods) WRAPPERS[klass] = self # klass.instance_methods(false).grep(/(.*)_nonblock/) do |method_name| # wrap_blocking_method($1, method_name) # end def_delegators :@io, *(additional_methods - instance_methods(false)) end