class Rack::Lint::Wrapper::ErrorWrapper
def close(*args)
def close(*args) raise LintError, "rack.errors#close must not be called" end
def flush
# * +flush+ must be called without arguments and must be called
def flush @error.flush end
def initialize(error)
def initialize(error) @error = error end
def puts(str)
def puts(str) @error.puts str end
def write(str)
def write(str) raise LintError, "rack.errors#write not called with a String" unless str.kind_of? String @error.write str end