Class: RubyApp::Elements::Pages::TestPages::ExceptionTestPage
- Inherits:
-
BlankPage
- Object
- RubyApp::Element
- Base::BasePage
- RubyApp::Elements::Page
- Base::BaseBlankPage
- BlankPage
- RubyApp::Elements::Pages::TestPages::ExceptionTestPage
- Defined in:
- lib/ruby_app/elements/pages/test_pages/exception_test_page.rb
Instance Attribute Summary
Attributes inherited from Base::BasePage
Attributes inherited from RubyApp::Element
Instance Method Summary collapse
-
#initialize ⇒ ExceptionTestPage
constructor
A new instance of ExceptionTestPage.
- #render(format) ⇒ Object
Methods inherited from RubyApp::Element
Methods included from Mixins::ConfigureMixin
Methods included from Mixins::TranslateMixin
Methods included from Mixins::TemplateMixin
#exclude_parent_template, #exclude_parent_template?, #get_templates, #template_name, #template_path
Methods included from Mixins::RenderMixin
#clear_content_for, #content_for, #rendered?
Constructor Details
#initialize ⇒ ExceptionTestPage
Returns a new instance of ExceptionTestPage.
15 16 17 18 |
# File 'lib/ruby_app/elements/pages/test_pages/exception_test_page.rb', line 15 def initialize super @markdown = RubyApp::Elements::Markdown.new end |
Instance Method Details
#render(format) ⇒ Object
20 21 22 23 |
# File 'lib/ruby_app/elements/pages/test_pages/exception_test_page.rb', line 20 def render(format) raise self.translate.exception super(format) end |