Sha256: 4199c8253a4ea72b8e8d7ac8864fbb531e9dddbefe719dbb6fef3945ec52f591
Contents?: true
Size: 325 Bytes
Versions: 133
Compression:
Stored size: 325 Bytes
Contents
# frozen_string_literal: true module Primer module Forms # :nodoc: class FormReference < 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
Version data entries
133 entries across 133 versions & 2 rubygems