lib/govuk_design_system_formbuilder/elements/radios/collection.rb
Method initialize
has 6 arguments (exceeds 5 allowed). Consider refactoring. Open
Open
def initialize(builder, object_name, attribute_name, collection, value_method:, text_method:, hint_method:, hint:, legend:, caption:, inline:, small:, bold_labels:, form_group:, include_hidden:, **kwargs, &block)