Class: Rack::MockRequest::FatalWarner

Inherits:
Object
  • Object
show all
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/mock.rb

Instance Method Summary collapse

Instance Method Details

#flushObject



35
36
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/mock.rb', line 35

def flush
end

#puts(warning) ⇒ Object

Raises:



27
28
29
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/mock.rb', line 27

def puts(warning)
  raise FatalWarning, warning
end

#stringObject



38
39
40
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/mock.rb', line 38

def string
  ""
end

#write(warning) ⇒ Object

Raises:



31
32
33
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/rack-2.2.5/lib/rack/mock.rb', line 31

def write(warning)
  raise FatalWarning, warning
end