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