Sha256: bf5a605add4e58ea71614307b8902d03f9d413996936d7ff0c10b432a1afb012
Contents?: true
Size: 378 Bytes
Versions: 3
Compression:
Stored size: 378 Bytes
Contents
module Formtastic # Uses the +NamespacedClassFinder+ to look up action class names. # # See +Formtastic::Helpers::ActionHelper#namespaced_action_class+ for details. # class ActionClassFinder < NamespacedClassFinder def initialize(builder) super builder.action_namespaces end private def class_name(as) "#{super}Action" end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
formtastic-3.1.0 | lib/formtastic/action_class_finder.rb |
formtastic-3.1.0.rc2 | lib/formtastic/action_class_finder.rb |
formtastic-3.1.0.rc1 | lib/formtastic/action_class_finder.rb |