Public Class methods
new(_, env)
Raise an error if there is an attempt to use a tempfile.
[show source]
# File lib/roda/plugins/disallow_file_uploads.rb 28 def initialize(_, env) 29 env['rack.multipart.tempfile_factory'] = NO_TEMPFILE 30 super 31 end