Sha256: b9b8e272692af1ba8271f84024cb53a7591627bb2a198857692d581fd142e087
Contents?: true
Size: 648 Bytes
Versions: 42
Compression:
Stored size: 648 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:, **options) @builder = builder @form = form @options = options yield(self) if block_given? end def to_component Ariadne::Form::Group::Component.new(inputs: inputs, builder: builder, form: form, **@options) end def type :group end def input? true end end end end end
Version data entries
42 entries across 42 versions & 1 rubygems
Version | Path |
---|---|
ariadne_view_components-0.0.72 | lib/ariadne/forms/dsl/input_group.rb |
ariadne_view_components-0.0.71 | lib/ariadne/forms/dsl/input_group.rb |