Module: Kernel

Defined in:
lib/jets_rails/core_ext/kernel.rb

Overview

With this implementation we write to disk immedaitely. This simplifies the implementation because we do not have to flush to io buffer by passing signals back and forth from the jets ruby server process to the rack server process.

Constant Summary collapse

OVERRIDE_METHODS =

List from ruby-doc.org/core-2.5.1/Kernel.html Note, will lose pp format in the @io_buffer but looks like a lot of work to keep the pp format. Must override stdout which can be messy quick: www.ruby-forum.com/topic/43725

%w[
  p
  pp
  print
  printf
  putc
  puts
]