Module: NIO

Defined in:
lib/nio.rb,
lib/nio/version.rb,
lib/nio/monitor.rb,
lib/nio/selector.rb,
ext/nio4r/monitor.c,
ext/nio4r/selector.c

Overview

frozen_string_literal: true

Defined Under Namespace

Classes: Monitor, Selector

Constant Summary collapse

VERSION =
"1.2.1".freeze

Class Method Summary collapse

Class Method Details

.engineObject

NIO implementation, one of the following (as a string):

  • select: in pure Ruby using Kernel.select

  • libev: as a C extension using libev

  • java: using Java NIO


13
14
15
# File 'lib/nio.rb', line 13

def self.engine
  ENGINE
end