Sha256: 6199f0a16a534a1b7d8adf48918981bbe209b4a3d8b71c04de5c7db230f2f581
Contents?: true
Size: 380 Bytes
Versions: 3
Compression:
Stored size: 380 Bytes
Contents
module Formtastic # Uses the Formtastic::NamespacedClassFinder to look up input class names. # # See Formtastic::Helpers::InputHelper#namespaced_input_class for details. # class InputClassFinder < NamespacedClassFinder def initialize(builder) super builder.input_namespaces end private def class_name(as) "#{super}Input" end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
formtastic-3.1.0 | lib/formtastic/input_class_finder.rb |
formtastic-3.1.0.rc2 | lib/formtastic/input_class_finder.rb |
formtastic-3.1.0.rc1 | lib/formtastic/input_class_finder.rb |