Module: EndView::InstanceMethods
- Defined in:
- lib/end_view.rb
Instance Method Summary collapse
Instance Method Details
#layout ⇒ Object
54 55 56 57 |
# File 'lib/end_view.rb', line 54 def layout layout = self.class.layout layout.respond_to?(:call) ? instance_exec(&layout) : layout end |
#template ⇒ Object
59 60 61 |
# File 'lib/end_view.rb', line 59 def template self.class.template end |