Sha256: ca5580f6621e9fa33977b0bac6ce74d5656ba4f8dbe069a478c0fe7d4e049967
Contents?: true
Size: 684 Bytes
Versions: 7
Compression:
Stored size: 684 Bytes
Contents
# frozen_string_literal: true module Ariadne module Forms module Dsl # :nodoc: class InputGroup include InputMethods attr_reader :builder, :form, :system_arguments def initialize(builder:, form:, **system_arguments) @builder = builder @form = form @system_arguments = system_arguments yield(self) if block_given? end def to_component Ariadne::Form::Group::Component.new(inputs: inputs, builder: builder, form: form, **@system_arguments) end def type :group end def input? true end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems