Class: EnvDumpPage

Inherits:
Page show all
Defined in:
app/models/env_dump_page.rb

Instance Attribute Summary

Attributes inherited from Page

#request, #response

Instance Method Summary collapse

Methods inherited from Page

#child_url, descendant_class, #description, #description=, display_name, display_name=, find_by_url, #find_by_url, #has_or_inherits_part?, #has_part?, #headers, #inherits_part?, is_descendant_class_name?, #layout_with_inheritance, load_subclasses, missing?, new_with_defaults, #part, #process, #published?, #render_part, #render_snippet, #response_code, #status, #status=, #to_xml, #url

Methods included from Annotatable

included

Methods included from LocalTime

#adjust_time

Methods included from Radiant::Taggable

included, #render_tag, #tag_descriptions, #tags

Instance Method Details

#cache?Boolean

Returns:

  • (Boolean)


13
14
15
# File 'app/models/env_dump_page.rb', line 13

def cache?
  false
end

#renderObject



9
10
11
# File 'app/models/env_dump_page.rb', line 9

def render
  %{<html><body><pre>#{ request.env.collect { |k,v| "#{k} => #{v}\n" } }</pre></body></html>}
end