Sha256: 4199c8253a4ea72b8e8d7ac8864fbb531e9dddbefe719dbb6fef3945ec52f591
Contents?: true
Size: 325 Bytes
Versions: 134
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
134 entries across 134 versions & 2 rubygems