Method: Microframe::FormHelper#initialize
- Defined in:
- lib/microframe/controller/form_helper.rb
#initialize(target, target_link) ⇒ FormHelper
Returns a new instance of FormHelper.
5 6 7 8 9 10 |
# File 'lib/microframe/controller/form_helper.rb', line 5 def initialize (target, target_link) @target = target @target_name = target.class.to_s.downcase @link = target_link @form_started = false end |