Class: Rack::MockRequest::FatalWarner

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

Instance Method Summary collapse

Instance Method Details

#flushObject



34
35
# File 'lib/rack/mock.rb', line 34

def flush
end

#puts(warning) ⇒ Object

Raises:



26
27
28
# File 'lib/rack/mock.rb', line 26

def puts(warning)
  raise FatalWarning, warning
end

#stringObject



37
38
39
# File 'lib/rack/mock.rb', line 37

def string
  ""
end

#write(warning) ⇒ Object

Raises:



30
31
32
# File 'lib/rack/mock.rb', line 30

def write(warning)
  raise FatalWarning, warning
end