Class: Rack::MockRequest::FatalWarner

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

Instance Method Summary collapse

Instance Method Details

#flushObject


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

def flush
end

#puts(warning) ⇒ Object

Raises:


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

def puts(warning)
  raise FatalWarning, warning
end

#stringObject


43
44
45
# File 'lib/rack/mock.rb', line 43

def string
  ""
end

#write(warning) ⇒ Object

Raises:


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

def write(warning)
  raise FatalWarning, warning
end