Class Puma::NullIO
In: lib/puma/null_io.rb
Parent: Object

Provides an IO-like object that always appears to contain no data. Used as the value for rack.input when the request has no body.

Methods

close   each   gets   read   rewind  

Public Instance methods

Does nothing

Never yields

Always returns nil

Mimics IO#read with no data

Does nothing

[Validate]