Sha256: c5674b7321012ba2e2c44a0a78b292e4e98d4e26f32fac5764c592262dac9829
Contents?: true
Size: 398 Bytes
Versions: 10
Compression:
Stored size: 398 Bytes
Contents
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
10 entries across 10 versions & 3 rubygems