Class: Rack::MockRequest::FatalWarner

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

Instance Method Summary collapse

Instance Method Details

#flushObject



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

def flush
end

#puts(warning) ⇒ Object

Raises:



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

def puts(warning)
  raise FatalWarning, warning
end

#stringObject



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

def string
  ""
end

#write(warning) ⇒ Object

Raises:



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

def write(warning)
  raise FatalWarning, warning
end