Class: FiForm::Renderer
- Inherits:
-
Object
- Object
- FiForm::Renderer
- Defined in:
- lib/fi_form/renderer.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#template ⇒ Object
readonly
Returns the value of attribute template.
Instance Method Summary collapse
-
#initialize(template) ⇒ Renderer
constructor
A new instance of Renderer.
- #render(*args) ⇒ Object
Constructor Details
#initialize(template) ⇒ Renderer
Returns a new instance of Renderer.
5 6 7 |
# File 'lib/fi_form/renderer.rb', line 5 def initialize(template) @template = template end |
Instance Attribute Details
#template ⇒ Object (readonly)
Returns the value of attribute template.
4 5 6 |
# File 'lib/fi_form/renderer.rb', line 4 def template @template end |
Instance Method Details
#render(*args) ⇒ Object
9 10 11 |
# File 'lib/fi_form/renderer.rb', line 9 def render(*args) warn "Please Override render method" end |