class BaseTemplate
Public Class
Base Class for Template Creation using Deklarativna
Class Based Model If you need any special implementation, you can create your own using this one as example, or just extend this one
Public Instance Methods
_body()
click to toggle source
Template Method
Should be redefined in your own classes
# File lib/deklarativna.rb, line 125 def _body end
_head()
click to toggle source
Template Method
Should be redefined in your own classes
# File lib/deklarativna.rb, line 120 def _head end
render()
click to toggle source
Public Method
Creates the rendered html
# File lib/deklarativna.rb, line 107 def render html {[ head { _head }, body { _body } ]} end