class SimpleForm::Wrappers::Single
‘Single` is an optimization for a wrapper that has only one component.
def initialize(name, options={})
def initialize(name, options={}) super(name, [name], options) end
def render(input)
def render(input) options = input.options if options[namespace] != false content = input.send(namespace) wrap(input, options, content) if content end end