Class: Lurker::FormBuilder

Inherits:
RenderingController show all
Defined in:
lib/lurker/form_builder.rb

Instance Attribute Summary

Attributes inherited from RenderingController

#endpoint_presenter, #service_presenter

Instance Method Summary collapse

Methods inherited from RenderingController

#cookies, #flash, #params, #protect_against_forgery?, #request, #tag_with_anchor, #title

Constructor Details

#initialize(params) ⇒ FormBuilder

Returns a new instance of FormBuilder.



3
4
5
6
# File 'lib/lurker/form_builder.rb', line 3

def initialize(params)
  @_buffer = ''
  add_to_buffer(params)
end

Instance Method Details

#htmlObject



8
9
10
# File 'lib/lurker/form_builder.rb', line 8

def html
  @_buffer
end