Module: ActionView::Helpers::FormHelper

Defined in:
lib/wysihat-engine.rb

Instance Method Summary collapse

Instance Method Details

#wysihat_editor(object_name, method, options = {}) ⇒ Object



6
7
8
# File 'lib/wysihat-engine.rb', line 6

def wysihat_editor(object_name, method, options = {})
  InstanceTag.new(object_name, method, self, options.delete(:object)).to_wysihat_editor_tag(options)
end