Sha256: c5d19073e3e56dd1c3e3a97789dd88460ab9902b141d83a0f52fdf04bfb50a71
Contents?: true
Size: 428 Bytes
Versions: 1
Compression:
Stored size: 428 Bytes
Contents
# frozen_string_literal: true module Formtastic # Uses the {Formtastic::NamespacedClassFinder} to look up input class names. # # See {Formtastic::FormBuilder#namespaced_input_class} for details. # class InputClassFinder < NamespacedClassFinder # @param builder [FormBuilder] def initialize(builder) super builder.input_namespaces end def class_name(as) "#{super}Input" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
formtastic-5.0.0 | lib/formtastic/input_class_finder.rb |