Class: Rack::MockRequest::FatalWarner

Inherits:
Object
  • Object
show all
Defined in:
lib/rack/mock_request.rb

Instance Method Summary collapse

Instance Method Details

#flushObject



36
37
# File 'lib/rack/mock_request.rb', line 36

def flush
end

#puts(warning) ⇒ Object

Raises:



28
29
30
# File 'lib/rack/mock_request.rb', line 28

def puts(warning)
  raise FatalWarning, warning
end

#stringObject



39
40
41
# File 'lib/rack/mock_request.rb', line 39

def string
  ""
end

#write(warning) ⇒ Object

Raises:



32
33
34
# File 'lib/rack/mock_request.rb', line 32

def write(warning)
  raise FatalWarning, warning
end