Class: ActionView::Helpers::FormBuilder

Inherits:
Object
  • Object
show all
Defined in:
lib/toolbox/rendering.rb

Instance Method Summary collapse

Instance Method Details

#tag_id(method, options = {}) ⇒ Object



7
8
9
10
11
# File 'lib/toolbox/rendering.rb', line 7

def tag_id(method, options = {})
  it = InstanceTag.new(@object_name, method, @template, @object)
  it.send :add_default_name_and_id, options #private method
  options['id']
end