Class: Rack::MockRequest::FatalWarner

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

Instance Method Summary collapse

Instance Method Details

#flushObject


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

def flush
end

#puts(warning) ⇒ Object

Raises:


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

def puts(warning)
  raise FatalWarning, warning
end

#stringObject


41
42
43
# File 'lib/rack/mock.rb', line 41

def string
  ""
end

#write(warning) ⇒ Object

Raises:


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

def write(warning)
  raise FatalWarning, warning
end