Sha256: 103a5b9171b5dccd5b9cf6133f039755e94940d9c727d185019908e3e4d71560
Contents?: true
Size: 391 Bytes
Versions: 37
Compression:
Stored size: 391 Bytes
Contents
class EnvDumpPage < Page description %{ Instead of rendering a page in the normal fashion the Env Dump behavior will output all of the environment variables on the request. This is occasionally useful for debugging. } def render %{<html><body><pre>#{ request.env.collect { |k,v| "#{k} => #{v}\n" } }</pre></body></html>} end def cache? false end end
Version data entries
37 entries across 37 versions & 5 rubygems