Sha256: cd89f88049359bba9fc7b259a81d1bc1c0eedffee7fd3e7e14c2dfb0dfa032c6
Contents?: true
Size: 387 Bytes
Versions: 45
Compression:
Stored size: 387 Bytes
Contents
# frozen_string_literal: true module Ariadne module Form # :nodoc: module FormReference class Component < Ariadne::Form::BaseComponent delegate :builder, :form, to: :@input def initialize(input:) @input = input end def builder_or_view @input.nested? ? builder : @view_context end end end end end
Version data entries
45 entries across 45 versions & 1 rubygems