SimpleForm::Wrappers::Many
`Single` is an optimization for a wrapper that has only one component.
# File lib/simple_form/wrappers/single.rb, line 5 def initialize(name, options={}) super(name, [name], options) end
# File lib/simple_form/wrappers/single.rb, line 9 def render(input) options = input.options if options[namespace] != false content = input.send(namespace) wrap(input, options, content) if content end end
[Validate]
Generated with the Darkfish Rdoc Generator 2.